Files
cloud-hypervisor/tpm/Cargo.toml
Julian Schindel 2b28c5b15a net_gen: replace net_gen with libc
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>
2026-03-23 12:50:38 +00:00

18 lines
339 B
TOML

[package]
authors = ["Microsoft Authors"]
edition = "2021"
license = "Apache-2.0"
name = "tpm"
rust-version.workspace = true
version = "0.1.0"
[dependencies]
anyhow = { workspace = true }
libc = { workspace = true }
log = { workspace = true }
thiserror = { workspace = true }
vmm-sys-util = { workspace = true }
[lints]
workspace = true