xref: /DragonOS/kernel/Cargo.toml (revision 0d48c3c9c21a2dd470d0e1e58b507db60e0887bb)
1[package]
2name = "dragonos_kernel"
3version = "0.1.0"
4edition = "2021"
5
6# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
7
8[lib]
9crate-type = ["staticlib"]
10
11# 运行时依赖项
12[dependencies]
13x86_64 = "0.14.10"
14bitflags = "1.3.2"
15virtio-drivers = "0.2.0"
16# 一个无锁MPSC队列
17thingbuf = { version = "0.1.3", default-features = false, features = ["alloc"] }
18
19# 构建时依赖项
20[build-dependencies]
21bindgen = "0.61.0"
22
23[dependencies.lazy_static]
24version = "1.4.0"
25# 由于在no_std环境,而lazy_static依赖了spin库,因此需要指定其使用no_std
26features = ["spin_no_std"]
27
28
29
30