Cargo Features
[dependencies]
indicator = { version = "0.4.4", default-features = false, features = ["alloc", "array-vec", "stream", "serde", "gat", "async", "reactive", "context", "std", "parallel", "tower", "send"] }
- default = array-vec, gat, std, stream
-
These default features are set whenever
indicator
is added without
somewhere in the dependency tree.default-features = false - alloc context? reactive? std
-
features that don't need
std
- array-vec default = arrayvec
-
Affects
ticked::array
,queue::arrayvec
… - stream default = futures, pin-project-lite
-
Affects
indicator::stream
… - serde = humantime
-
Enables serde, serde-human-readable and serde-well-known of time
- gat default = tinyvec
-
Affects
indicator::gat
… - async tower? = futures, pin-project-lite
-
Affects
indicator::async_operator
,operator::OperatorExt.into_async_operator
,stream::async_operated
,stream::IndicatorStreamExt.async_indicator
… - reactive = alloc, futures, pin-project-lite, tracing
-
Affects
indicator::reactive
… - context = alloc, hashbrown, indicator_macros
-
Affects
indicator::context
… - std default parallel? tower? = alloc, thiserror
-
features that need
std
Enables std of optional futures, time, and optional tracing
Affects
cached::shared_map
… - parallel = rayon, std
-
Affects
indicator::rayon
… - tower = async, std, tower-service
-
Affects
async_operator::tower
… - send
-
Affects
subscriber::Subscriber
…
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.