mirror of
https://github.com/DragonOS-Community/DragonOS.git
synced 2025-06-17 18:26:48 +00:00
* rust重构mmio_buddy和mmio * mmio-buddy文档 --------- Co-authored-by: longjin <longjin@RinGoTek.cn>
25 lines
488 B
TOML
25 lines
488 B
TOML
[package]
|
||
name = "dragonos_kernel"
|
||
version = "0.1.0"
|
||
edition = "2021"
|
||
|
||
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
|
||
|
||
[lib]
|
||
crate-type = ["staticlib"]
|
||
|
||
# 运行时依赖项
|
||
[dependencies]
|
||
x86_64 = "0.14.10"
|
||
|
||
# 构建时依赖项
|
||
[build-dependencies]
|
||
bindgen = "0.61.0"
|
||
|
||
[dependencies.lazy_static]
|
||
version = "1.4.0"
|
||
# 由于在no_std环境,而lazy_static依赖了spin库,因此需要指定其使用no_std
|
||
features = ["spin_no_std"]
|
||
|
||
|