Cargo.toml 488 B

123456789101112131415161718192021222324
  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. # 构建时依赖项
  12. [build-dependencies]
  13. bindgen = "0.61.0"
  14. [dependencies.lazy_static]
  15. version = "1.4.0"
  16. # 由于在no_std环境,而lazy_static依赖了spin库,因此需要指定其使用no_std
  17. features = ["spin_no_std"]