Files
stambha/Cargo.toml
T

50 lines
1.2 KiB
TOML

[workspace]
members = [
"crates/stela-cli",
"crates/stela-loader",
"crates/stela-compiler",
"crates/stela-runtime",
"xtask",
]
# The UEFI application builds for its own target with aborting panics.
exclude = ["crates/stela-boot"]
resolver = "2"
[workspace.package]
version = "0.1.0"
edition = "2024"
license = "MIT"
[workspace.dependencies]
anyhow = "1"
clap = { version = "4", features = ["derive"] }
serde = { version = "1", default-features = false, features = ["alloc", "derive"] }
serde_json = "1"
rustc_apfloat = "=0.2.3"
sha2 = "0.10"
hex = "0.4"
libc = "0.2"
tempfile = "3"
stela-compiler = { path = "crates/stela-compiler" }
stela-runtime = { path = "crates/stela-runtime" }
stela-loader = { path = "crates/stela-loader" }
stela-cli = { path = "crates/stela-cli" }
[workspace.lints.rust]
unsafe_op_in_unsafe_fn = "deny"
[workspace.lints.clippy]
all = "warn"
[profile.release]
lto = "thin"
codegen-units = 1
# Large restore images spend substantial time in these crates in debug builds.
# Keep Stela itself debuggable while using optimized hash compression code.
[profile.dev.package.sha1]
opt-level = 3
[profile.dev.package.sha2]
opt-level = 3