asterinas/Cargo.toml
2024-01-02 07:21:36 +08:00

71 lines
1.7 KiB
TOML

[package]
name = "asterinas"
version = "0.2.3"
edition = "2021"
[[bin]]
name = "asterinas"
path = "kernel/main.rs"
[dependencies]
aster-frame = { path = "framework/aster-frame" }
aster-std = { path = "services/libs/aster-std" }
component = { path = "services/libs/comp-sys/component" }
[dev-dependencies]
x86_64 = "0.14.2"
aster-time = { path = "services/comps/time" }
aster-framebuffer = { path = "services/comps/framebuffer" }
[profile.dev]
opt-level = 0
debug = true
lto = false
panic = "unwind"
[profile.release]
opt-level = 3
debug = false
lto = false
panic = "unwind"
[workspace]
members = [
"runner",
"framework/aster-frame",
"framework/libs/align_ext",
"framework/libs/boot-wrapper/builder",
"framework/libs/boot-wrapper/linux-boot-params",
"framework/libs/boot-wrapper/wrapper",
"framework/libs/ktest",
"framework/libs/tdx-guest",
"services/comps/block",
"services/comps/console",
"services/comps/framebuffer",
"services/comps/input",
"services/comps/network",
"services/comps/time",
"services/comps/virtio",
"services/libs/cpio-decoder",
"services/libs/int-to-c-enum",
"services/libs/int-to-c-enum/derive",
"services/libs/aster-rights",
"services/libs/aster-rights-proc",
"services/libs/aster-std",
"services/libs/aster-util",
"services/libs/keyable-arc",
"services/libs/typeflags",
"services/libs/typeflags-util",
]
exclude = [
"services/libs/comp-sys/cargo-component",
"services/libs/comp-sys/component",
"services/libs/comp-sys/component-macro",
"services/libs/comp-sys/controlled",
]
[features]
intel_tdx = ["aster-frame/intel_tdx", "aster-std/intel_tdx"]