Cargo Features
[dependencies]
ddevmem = { version = "0.2.4", default-features = false, features = ["reg", "register-map", "device", "emulator"] }
- default = device, reg, register-map
-
These default features are set whenever
ddevmem
is added without
somewhere in the dependency tree.default-features = false - reg default
- register-map default = concat-idents
- device default = memmap2
- emulator
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.