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

alloc context? reactive? std

features that don't need std

Enables alloc of optional futures and time

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.

arrayvec array-vec
hashbrown context?

Enables hashbrown ^0.14.0

humantime serde?
indicator_macros context?
rayon parallel?
thiserror std
tinyvec gat
tower-service tower?
tracing reactive?
futures async? reactive? stream
pin-project-lite async? reactive? stream