-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
59 lines (51 loc) · 1.16 KB
/
Cargo.toml
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
[package]
name = "tx-lang"
edition = "2021"
rust-version = "1.67"
authors = ["Xavier Thomas <[email protected]>"]
description = "Lightweight, fast, modern and safe scripting language"
keywords = [
"vm",
"compiler",
"interpreter",
"language",
"programming-language",
"single-pass",
"light",
"lightweight",
"safe",
"fast",
]
license = "MIT OR Apache-2.0"
repository = "https://www.github.com/thmxv/tx-lang-rust"
version = "0.1.0"
[workspace]
members = ["crates/*"]
[[bin]]
name = "tx"
path = "src/main.rs"
[features]
default = ["lsp", "repl", "nan-boxing"]
tx32 = ["tx-runtime/tx32"]
nan-boxing = ["tx-runtime/nan-boxing"]
debug-features = ["tx-runtime/debug-features"]
gc-stress = ["tx-runtime/gc-stress"]
repl = ["dep:tx-repl"]
lsp = ["dep:tx-lsp"]
[dependencies]
tx-runtime.path = "crates/tx-runtime"
tx-repl = { path = "crates/tx-repl", optional = true }
tx-lsp = { path = "crates/tx-lsp", optional = true }
clap = { version = "4.1.8", features = ["derive"] }
[profile.release]
opt-level = "z"
codegen-units = 1
debug = 0
lto = true
panic = "abort"
strip = true
[profile.profiling]
inherits = "release"
debug = 1
strip = false
#[profile.debug]