Cargo.toml 534 B

12345678910111213141516171819202122232425262728
  1. [package]
  2. name = "dragonos_kernel"
  3. version = "0.1.0"
  4. edition = "2021"
  5. # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
  6. [lib]
  7. crate-type = ["staticlib"]
  8. # 运行时依赖项
  9. [dependencies]
  10. x86_64 = "0.14.10"
  11. bitflags = "1.3.2"
  12. virtio-drivers = "0.2.0"
  13. # 构建时依赖项
  14. [build-dependencies]
  15. bindgen = "0.61.0"
  16. [dependencies.lazy_static]
  17. version = "1.4.0"
  18. # 由于在no_std环境,而lazy_static依赖了spin库,因此需要指定其使用no_std
  19. features = ["spin_no_std"]