-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
69 lines (56 loc) · 1.17 KB
/
Cargo.toml
File metadata and controls
69 lines (56 loc) · 1.17 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
[workspace]
resolver = "2"
members = ["crates/writ-lsp"]
exclude = ["crates/writ-bench"]
[workspace.package]
version = "0.1.0"
edition = "2024"
[package]
name = "writ"
version.workspace = true
edition.workspace = true
description = "An embeddable, statically typed scripting language for Rust"
license = "MIT"
repository = "https://github.com/forge18/writ"
keywords = ["scripting", "embedded", "language", "gamedev", "vm"]
categories = ["game-development", "embedded", "scripting"]
readme = "README.md"
[features]
mobile-aosoa = []
debug-hooks = []
[dependencies]
rand = "0.8"
regex = "1"
glam = "0.29"
fastnoise-lite = "1"
[dev-dependencies]
criterion = { version = "0.5", features = ["html_reports"] }
tempfile = "3"
[[bench]]
name = "lexer"
harness = false
[[bench]]
name = "parser"
harness = false
[[bench]]
name = "compiler"
harness = false
[[bench]]
name = "vm"
harness = false
[[bench]]
name = "pipeline"
harness = false
[profile.release]
lto = "fat"
codegen-units = 1
panic = "abort"
strip = "symbols"
[profile.bench]
lto = "fat"
codegen-units = 1
# Profiling: same as release but with debug symbols and no strip
[profile.profiling]
inherits = "release"
debug = 2
strip = "none"