Cargo Features
[dependencies]
mem_dbg = { version = "0.2.4", default-features = false, features = ["std", "alloc", "derive", "offset_of_enum", "mmap-rs", "half", "rand", "maligned"] }
- default = derive, std
-
These default features are set whenever
mem_dbg
is added without
somewhere in the dependency tree.default-features = false - std default = alloc
-
Affects
mem_dbg::MemDbg.mem_dbg
,mem_dbg::MemDbgImpl._mem_dbg_depth
… - alloc std
- derive default = mem_dbg-derive
- offset_of_enum
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.