Cargo Features
[dependencies]
vmi = { version = "0.0.1-rc.3", default-features = false, features = ["arch-amd64", "driver-xen", "os-linux", "os-windows", "utils"] }
- default = arch-amd64, driver-xen, os-linux, os-windows, utils
-
These default features are set whenever
vmi
is added without
somewhere in the dependency tree.default-features = false - arch-amd64 default = vmi-arch-amd64
-
Enables arch-amd64 of optional vmi-utils
Affects
vmi::arch.amd64
… - driver-xen default = vmi-driver-xen
-
Affects
vmi::driver.xen
… - os-linux default = vmi-os-linux
-
Affects
vmi::os.linux
… - os-windows default = vmi-os-windows
-
Enables os-windows of optional vmi-utils
Affects
vmi::os.windows
… - utils default = vmi-utils
-
Affects
vmi::utils
…
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.