-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
52 lines (46 loc) · 1.23 KB
/
Cargo.toml
File metadata and controls
52 lines (46 loc) · 1.23 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
[workspace]
resolver = "2"
members = [
"crates/rtcl-ir",
"crates/rtcl-parser",
"crates/rtcl-vm",
"crates/rtcl-core",
"crates/rtcl-cli",
"crates/rtcl-expect",
]
[workspace.package]
version = "0.1.0"
edition = "2021"
license = "BSD-2-Clause"
repository = "https://github.com/user/rtcl"
description = "A lightweight Tcl-compatible scripting language in Rust"
authors = ["rtcl contributors"]
rust-version = "1.70"
[workspace.dependencies]
rtcl-ir = { path = "crates/rtcl-ir" }
rtcl-parser = { path = "crates/rtcl-parser" }
rtcl-vm = { path = "crates/rtcl-vm" }
rtcl-core = { path = "crates/rtcl-core" }
rtcl-expect = { path = "crates/rtcl-expect" }
# no-std compatible dependencies
hashbrown = "0.14"
smallvec = { version = "1.13", default-features = false }
spin = "0.9"
# std dependencies
glob = "0.3"
indexmap = "2.2"
thiserror = "1.0"
anyhow = "1.0"
clap = { version = "4.5", features = ["derive"] }
rustyline = "14.0"
colored = "2.1"
annotate-snippets = "0.11"
regex = "1"
[profile.release]
opt-level = "s" # Optimize for size
lto = true # Link-time optimization
codegen-units = 1 # Better optimization
panic = "abort" # Smaller binary
strip = true # Strip symbols
[profile.dev]
opt-level = 0