mirror of
https://github.com/cloud-hypervisor/cloud-hypervisor.git
synced 2026-08-05 02:19:16 +00:00
The libc crate provides all functionality provided by the net_gen crate. Removing the net_gen crate reduces the maintenance burden. The switch to libc required some fixes, most notably the switch from a `Vec<u8>` to a `CString` for the `net_util::Tap.if_name` field. On-behalf-of: SAP julian.schindel@sap.com Signed-off-by: Julian Schindel <julian.schindel@cyberus-technology.de>
33 lines
765 B
TOML
33 lines
765 B
TOML
[package]
|
|
authors = ["The Chromium OS Authors"]
|
|
edition.workspace = true
|
|
name = "net_util"
|
|
rust-version.workspace = true
|
|
version = "0.1.0"
|
|
|
|
[dependencies]
|
|
epoll = { workspace = true }
|
|
getrandom = "0.4.2"
|
|
libc = { workspace = true }
|
|
log = { workspace = true }
|
|
rate_limiter = { path = "../rate_limiter" }
|
|
serde = { workspace = true, features = ["derive"] }
|
|
thiserror = { workspace = true }
|
|
virtio-bindings = { workspace = true }
|
|
virtio-queue = { workspace = true }
|
|
vm-memory = { workspace = true, features = [
|
|
"backend-atomic",
|
|
"backend-bitmap",
|
|
"backend-mmap",
|
|
] }
|
|
vm-virtio = { path = "../vm-virtio" }
|
|
vmm-sys-util = { workspace = true }
|
|
|
|
[dev-dependencies]
|
|
pnet = "0.35.0"
|
|
pnet_datalink = "0.35.0"
|
|
serde_json = { workspace = true }
|
|
|
|
[lints]
|
|
workspace = true
|