Feat(netns): 添加netns-rs来管理网络命名空间 (#69)

* 添加netns-rs来管理网络命名空间

* fix: cargo hakari generate

---------

Co-authored-by: Samuka007 <samuka007@dragonos.org>
This commit is contained in:
火花
2025-04-16 11:35:51 +08:00
committed by GitHub
parent 8c4107a8b4
commit 6ecde71c52
4 changed files with 66 additions and 19 deletions

View File

@ -51,18 +51,18 @@ tracing-core = { version = "0.1", default-features = false, features = ["std"] }
[target.x86_64-unknown-linux-gnu.dependencies]
getrandom = { version = "0.2", default-features = false, features = ["std"] }
libc = { version = "0.2" }
libc = { version = "0.2", features = ["extra_traits"] }
[target.x86_64-unknown-linux-gnu.build-dependencies]
getrandom = { version = "0.2", default-features = false, features = ["std"] }
libc = { version = "0.2" }
libc = { version = "0.2", features = ["extra_traits"] }
[target.aarch64-unknown-linux-gnu.dependencies]
getrandom = { version = "0.2", default-features = false, features = ["std"] }
libc = { version = "0.2" }
libc = { version = "0.2", features = ["extra_traits"] }
[target.aarch64-unknown-linux-gnu.build-dependencies]
getrandom = { version = "0.2", default-features = false, features = ["std"] }
libc = { version = "0.2" }
libc = { version = "0.2", features = ["extra_traits"] }
### END HAKARI SECTION