Cargo Features
kvm-bindings has no features set by default.
[dependencies]
kvm-bindings = { version = "0.10.0", features = ["fam-wrappers", "serde"] }
- fam-wrappers = vmm-sys-util
-
Affects
arm64::fam_wrappers
,riscv64::fam_wrappers
,x86_64::fam_wrappers
… - serde
-
It is not needed to enable the
serde
feature ofvmm-sys-util
here, because due to how cargo merges features, if a downstream crate enables vmm-sys-util in its Cargo.toml, it will get enabled globally.Enables serde and zerocopy ^0.7.32
Features from optional dependencies
In crates that don't use the dep:
syntax, optional dependencies automatically become Cargo features. These features may have been created by mistake, and this functionality may be removed in the future.