asterinas/kernel/Cargo.toml

81 lines
2.7 KiB
TOML
Raw Normal View History

2024-02-27 08:40:16 +00:00
[package]
2024-08-19 11:15:22 +00:00
name = "aster-nix"
version = "0.1.0"
2024-02-27 08:40:16 +00:00
edition = "2021"
2024-08-19 11:15:22 +00:00
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
2024-02-27 08:40:16 +00:00
[dependencies]
2024-08-19 11:15:22 +00:00
align_ext = { path = "../ostd/libs/align_ext" }
aster-input = { path = "comps/input" }
aster-block = { path = "comps/block" }
aster-network = { path = "comps/network" }
aster-console = { path = "comps/console" }
2025-04-29 08:45:08 +00:00
aster-framebuffer = { path = "comps/framebuffer" }
aster-softirq = { path = "comps/softirq" }
2024-11-15 08:58:06 +00:00
aster-logger = { path = "comps/logger" }
aster-mlsdisk = { path = "comps/mlsdisk" }
2024-08-19 11:15:22 +00:00
aster-time = { path = "comps/time" }
aster-virtio = { path = "comps/virtio" }
aster-rights = { path = "libs/aster-rights" }
2025-04-30 12:59:53 +00:00
aster-systree = { path = "comps/systree" }
2025-06-25 02:04:24 +00:00
aster-keyboard = { path = "comps/keyboard" }
2024-02-27 08:40:16 +00:00
component = { path = "libs/comp-sys/component" }
2024-08-19 11:15:22 +00:00
controlled = { path = "libs/comp-sys/controlled" }
osdk-frame-allocator = { path = "../osdk/deps/frame-allocator" }
2025-01-13 06:24:32 +00:00
osdk-heap-allocator = { path = "../osdk/deps/heap-allocator" }
2024-08-19 11:15:22 +00:00
ostd = { path = "../ostd" }
typeflags = { path = "libs/typeflags" }
typeflags-util = { path = "libs/typeflags-util" }
aster-rights-proc = { path = "libs/aster-rights-proc" }
aster-util = { path = "libs/aster-util" }
2024-09-06 10:49:37 +00:00
aster-bigtcp = { path = "libs/aster-bigtcp" }
atomic-integer-wrapper = { path = "libs/atomic-integer-wrapper" }
2024-08-19 11:15:22 +00:00
id-alloc = { path = "../ostd/libs/id-alloc" }
int-to-c-enum = { path = "libs/int-to-c-enum" }
cpio-decoder = { path = "libs/cpio-decoder" }
2025-04-18 02:41:54 +00:00
xarray = { path = "libs/xarray" }
2024-08-19 11:15:22 +00:00
intrusive-collections = "0.9.5"
paste = "1.0"
time = { version = "0.3", default-features = false, features = ["alloc"] }
2024-02-27 08:40:16 +00:00
2024-08-19 11:15:22 +00:00
# parse elf file
2025-05-12 07:17:53 +00:00
xmas-elf = "0.10.0"
2024-08-19 11:15:22 +00:00
# data-structures
bitflags = "1.3"
keyable-arc = { path = "libs/keyable-arc" }
# unzip initramfs
libflate = { version = "2", default-features = false }
core2 = { version = "0.4", default-features = false, features = ["alloc"] }
lending-iterator = "0.1.7"
spin = "0.9.4"
lru = "0.12.3"
log = "0.4"
bitvec = { version = "1.0", default-features = false, features = ["alloc"] }
hashbrown = "0.14"
rand = { version = "0.8.5", default-features = false, features = [
"small_rng",
"std_rng",
] }
inherit-methods-macro = { git = "https://github.com/asterinas/inherit-methods-macro", rev = "98f7e3e" }
getset = "0.1.2"
takeable = "0.2.2"
cfg-if = "1.0"
# Fixed point numbers
# TODO: fork this crate to rewrite all the (unnecessary) unsafe usage
fixed = "1.28.0"
2024-08-19 11:15:22 +00:00
2025-04-06 13:26:16 +00:00
[target.x86_64-unknown-none.dependencies]
tdx-guest = { version = "0.2.1", optional = true }
2024-09-24 14:14:30 +00:00
[target.riscv64gc-unknown-none-elf.dependencies]
riscv = { version = "0.11.1", features = ["s-mode"] }
2024-02-27 08:40:16 +00:00
[features]
2024-11-02 02:59:39 +00:00
all = ["cvm_guest"]
cvm_guest = ["dep:tdx-guest", "ostd/cvm_guest", "aster-virtio/cvm_guest"]
coverage = ["ostd/coverage"]
2025-01-24 16:56:07 +00:00
[lints]
workspace = true