Cargo Features
[dependencies]
erkpht-tower = { version = "0.3.2", default-features = false, features = ["log", "balance", "buffer", "discover", "filter", "hedge", "limit", "load", "load-shed", "make", "ready-cache", "reconnect", "retry", "spawn-ready", "steer", "timeout", "util"] }
- default = log
-
The
log
feature is set by default whenevererkpht-tower
is added without
somewhere in the dependency tree.default-features = false - log default
- balance = discover, load, make, rand, ready-cache, slab
-
Affects
erkpht-tower::balance
… - buffer
-
Enables rt-core and sync of tokio ^0.2
Affects
erkpht-tower::buffer
… - discover balance? load?
-
Affects
erkpht-tower::discover
… - filter hedge?
-
Affects
erkpht-tower::filter
… - hedge = filter, futures-util, hdrhistogram
-
Enables time of tokio ^0.2
Affects
erkpht-tower::hedge
… - limit
-
Enables time of tokio ^0.2
Affects
erkpht-tower::limit
… - load balance? = discover
-
Enables time of tokio ^0.2
Affects
erkpht-tower::load
… - load-shed
-
Affects
erkpht-tower::load_shed
… - make balance? reconnect?
-
Enables io-std of tokio ^0.2
Affects
erkpht-tower::make
… - ready-cache balance? = futures-util, indexmap
-
Enables sync of tokio ^0.2
Affects
erkpht-tower::ready_cache
… - reconnect = make
-
Enables io-std of tokio ^0.2
tokio:
stdin, stdout, stderr
Affects
erkpht-tower::reconnect
… - retry
-
Enables time of tokio ^0.2
Affects
erkpht-tower::retry
… - spawn-ready = futures-util
-
Enables rt-core and sync of tokio ^0.2
Affects
erkpht-tower::spawn_ready
… - steer = futures-util
-
Affects
erkpht-tower::steer
… - timeout
-
Enables time of tokio ^0.2
Affects
erkpht-tower::timeout
… - util = futures-util
-
Affects
erkpht-tower::util
…
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.
- futures-util hedge? ready-cache? spawn-ready? steer? util?
- hdrhistogram hedge?
-
Enables hdrhistogram ^6.0
- indexmap ready-cache?
-
Enables indexmap ^1.0.2
- rand balance?
-
Enables rand ^0.7
- slab balance?
- tokio buffer? hedge? limit? load? make? ready-cache? reconnect? retry? spawn-ready? timeout?
-
Enables tokio ^0.2