Cargo Features
[dependencies]
uwheel = { version = "0.2.1", default-features = false, features = ["std", "all", "avg", "sum", "min", "max", "min_max", "top_n", "simd", "sync", "serde", "profiler", "timer", "smallvec"] }
- default = all, avg, max, min, min_max, std, sum
-
These default features are set whenever
uwheel
is added without
somewhere in the dependency tree.default-features = false - std default profiler? sync?
-
serde:
Provide impls for common standard library types like Vec<T> and HashMap<K, V>.
Requires a dependency on the Rust standard library. - all default
-
Affects
aggregator::all
… - avg default
-
Affects
aggregator::avg
… - sum default
-
Affects
aggregator::sum
… - min default
-
Affects
aggregator::min
… - max default
-
Affects
aggregator::max
… - min_max default
-
Affects
aggregator::min_max
… - top_n
-
Enables hashbrown ^0.14.3
Affects
aggregator::top_n
… - simd
-
Enables multiversion
Optional
- sync = std
-
Enables parking_lot
- serde
-
Enables serde and serde-big-array, serde of optional uwheel-stats, serde of optional hashbrown ^0.14.3 and optional parking_lot
Affects
aggregator::InputBounds
,aggregator::MutablePartialAggregateType
,aggregator::PartialAggregateBounds
,key::KeyBounds
… - profiler = prettytable-rs, std
-
Enables uwheel-stats
- timer
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.
- prettytable-rs profiler?
- smallvec implicit feature
-
Enables smallvec
smallvec:
'Small vector' optimization: store up to a small number of items on the stack