asterinas/kernel/comps/virtio/Cargo.toml

38 lines
1.1 KiB
TOML

[package]
name = "aster-virtio"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bitflags = "1.3"
spin = "0.9.4"
aster-input = { path = "../input" }
aster-block = { path = "../block" }
aster-network = { path = "../network" }
aster-console = { path = "../console" }
aster-util = { path = "../../libs/aster-util" }
aster-rights = { path = "../../libs/aster-rights" }
aster-bigtcp = { path = "../../libs/aster-bigtcp" }
aster-pci = { path = "../pci" }
aster-softirq = { path = "../softirq"}
aster-systree = { path = "../systree" }
device-id = { path = "../../libs/device-id" }
id-alloc = { path = "../../../ostd/libs/id-alloc" }
typeflags-util = { path = "../../libs/typeflags-util" }
ostd = { path = "../../../ostd" }
component = { path = "../../libs/comp-sys/component" }
log = "0.4"
int-to-c-enum = { path = "../../libs/int-to-c-enum" }
[target.x86_64-unknown-none.dependencies]
tdx-guest = { version = "0.2.2", optional = true }
[features]
all = ["cvm_guest"]
cvm_guest = ["dep:tdx-guest", "ostd/cvm_guest"]
[lints]
workspace = true