Cargo Features
[dependencies]
datasize = { version = "0.2.15", default-features = false, features = ["std", "detailed", "fake_clock-types", "futures-types", "smallvec-types", "tokio-types", "const-generics"] }
- default = const-generics, std
-
These default features are set whenever
datasize
is added without
somewhere in the dependency tree.default-features = false - std default detailed? smallvec-types?
- detailed = serde, std
-
Enables detailed of datasize_derive
Affects
datasize::DataSize.estimate_detailed_heap_size
,datasize::MemUsageNode
,datasize::data_size_detailed
… - fake_clock-types = fake_instant
- futures-types = futures
- smallvec-types = smallvec, std
- tokio-types = tokio
- const-generics default
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.