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 default-features = false somewhere in the dependency tree.

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.

mem_dbg-derive derive
mmap-rs implicit feature
half implicit feature
rand implicit feature

Enables rand

rand:

Random number generators and other randomness functionality

maligned implicit feature

Enables maligned

maligned:

A memory alignment library