Files
DragonOS/kernel/Cargo.toml
YJwu2023 26d84a3139 新增VirtIO网卡驱动 (#194)
* 修复内存bug与grub安装脚本的错误

* 修改小bug

* PCI增加功能与virtio-net驱动

* little fix

* virtio-net小修改
2023-03-11 21:09:50 +08:00

28 lines
531 B
TOML
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

[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"
virtio-drivers = "0.2.0"
bitflags = "1.3"
# 构建时依赖项
[build-dependencies]
bindgen = "0.61.0"
[dependencies.lazy_static]
version = "1.4.0"
# 由于在no_std环境而lazy_static依赖了spin库因此需要指定其使用no_std
features = ["spin_no_std"]