2022-08-08 19:44:53 +00:00
|
|
|
[package]
|
2024-02-05 07:58:10 +00:00
|
|
|
name = "aster-nix"
|
2022-08-08 19:44:53 +00:00
|
|
|
version = "0.1.0"
|
|
|
|
edition = "2021"
|
|
|
|
|
|
|
|
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
|
|
|
|
|
|
|
[dependencies]
|
2024-06-19 08:18:39 +00:00
|
|
|
ostd = { path = "../../ostd" }
|
|
|
|
align_ext = { path = "../../ostd/libs/align_ext" }
|
2023-12-26 02:50:01 +00:00
|
|
|
pod = { git = "https://github.com/asterinas/pod", rev = "d7dba56" }
|
2024-02-05 07:58:10 +00:00
|
|
|
aster-input = { path = "../comps/input" }
|
|
|
|
aster-block = { path = "../comps/block" }
|
|
|
|
aster-network = { path = "../comps/network" }
|
|
|
|
aster-console = { path = "../comps/console" }
|
|
|
|
aster-time = { path = "../comps/time" }
|
|
|
|
aster-virtio = { path = "../comps/virtio" }
|
|
|
|
aster-rights = { path = "../libs/aster-rights" }
|
|
|
|
controlled = { path = "../libs/comp-sys/controlled" }
|
|
|
|
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-06-19 08:18:39 +00:00
|
|
|
id-alloc = { path = "../../ostd/libs/id-alloc" }
|
2024-02-05 07:58:10 +00:00
|
|
|
int-to-c-enum = { path = "../libs/int-to-c-enum" }
|
|
|
|
cpio-decoder = { path = "../libs/cpio-decoder" }
|
2023-01-03 02:40:01 +00:00
|
|
|
ascii = { version = "1.1", default-features = false, features = ["alloc"] }
|
2023-02-15 09:23:27 +00:00
|
|
|
intrusive-collections = "0.9.5"
|
2024-05-16 07:45:44 +00:00
|
|
|
paste = "1.0"
|
2023-03-09 08:55:57 +00:00
|
|
|
time = { version = "0.3", default-features = false, features = ["alloc"] }
|
2023-08-28 07:03:28 +00:00
|
|
|
smoltcp = { version = "0.9.1", default-features = false, features = [
|
|
|
|
"alloc",
|
|
|
|
"log",
|
|
|
|
"medium-ethernet",
|
|
|
|
"medium-ip",
|
|
|
|
"proto-dhcpv4",
|
|
|
|
"proto-ipv4",
|
|
|
|
"proto-igmp",
|
|
|
|
"socket-icmp",
|
|
|
|
"socket-udp",
|
|
|
|
"socket-tcp",
|
|
|
|
"socket-raw",
|
|
|
|
"socket-dhcpv4",
|
|
|
|
] }
|
2024-04-28 07:31:56 +00:00
|
|
|
tdx-guest = { version = "0.1.0", optional = true }
|
2022-08-17 06:48:01 +00:00
|
|
|
|
|
|
|
# parse elf file
|
|
|
|
xmas-elf = "0.8.0"
|
|
|
|
# goblin = {version= "0.5.3", default-features = false, features = ["elf64"]}
|
|
|
|
# data-structures
|
2022-09-16 03:14:46 +00:00
|
|
|
bitflags = "1.3"
|
2023-03-31 03:43:05 +00:00
|
|
|
ringbuf = { version = "0.3.2", default-features = false, features = ["alloc"] }
|
2024-02-05 07:58:10 +00:00
|
|
|
keyable-arc = { path = "../libs/keyable-arc" }
|
2023-06-19 08:28:14 +00:00
|
|
|
# unzip initramfs
|
2024-02-27 03:23:06 +00:00
|
|
|
libflate = { version ="2", default-features = false }
|
2024-06-20 16:07:27 +00:00
|
|
|
core2 = { version = "0.4", default-features = false, features = ["alloc"] }
|
2023-07-21 08:04:12 +00:00
|
|
|
lending-iterator = "0.1.7"
|
2022-08-23 09:50:07 +00:00
|
|
|
spin = "0.9.4"
|
2022-11-21 11:09:23 +00:00
|
|
|
vte = "0.10"
|
2024-02-27 03:23:06 +00:00
|
|
|
lru = "0.12.3"
|
2023-03-25 09:16:37 +00:00
|
|
|
log = "0.4"
|
2023-09-18 03:47:17 +00:00
|
|
|
bitvec = { version = "1.0", default-features = false, features = ["alloc"] }
|
2024-03-18 07:58:37 +00:00
|
|
|
hashbrown = "0.14"
|
2024-07-02 02:12:06 +00:00
|
|
|
rand = { version = "0.8.5", default-features = false, features = ["small_rng", "std_rng"] }
|
2023-09-18 03:47:17 +00:00
|
|
|
static_assertions = "1.1.0"
|
|
|
|
inherit-methods-macro = { git = "https://github.com/asterinas/inherit-methods-macro", rev = "98f7e3e" }
|
2023-10-16 03:10:40 +00:00
|
|
|
getset = "0.1.2"
|
2024-01-23 07:41:12 +00:00
|
|
|
atomic = "0.6"
|
|
|
|
bytemuck = "1.14.3"
|
|
|
|
bytemuck_derive = "1.5.0"
|
2024-02-20 15:10:06 +00:00
|
|
|
takeable = "0.2.2"
|
2024-04-29 14:50:40 +00:00
|
|
|
cfg-if = "1.0"
|
|
|
|
|
2022-09-16 03:14:46 +00:00
|
|
|
[dependencies.lazy_static]
|
|
|
|
version = "1.0"
|
|
|
|
features = ["spin_no_std"]
|
2023-08-07 02:56:03 +00:00
|
|
|
|
|
|
|
[features]
|
|
|
|
intel_tdx = ["dep:tdx-guest"]
|