Cargo Features
[dependencies]
gabriel2 = { version = "1.5.0", default-features = false, features = ["all", "remote", "sink-stream", "broadcast", "balancer"] }
- default = all
-
The
all
feature is set by default whenevergabriel2
is added without
somewhere in the dependency tree.default-features = false - all default = balancer, broadcast, remote, sink-stream
-
Enables io-util, macros, rt, rt-multi-thread, signal, sync, time and tokio-macros of tokio
- remote all = bincode
-
Affects
gabriel2::remote
… - sink-stream all
-
Affects
gabriel2::sink_stream
… - broadcast all
-
Affects
gabriel2::broadcast
… - balancer all
-
Affects
gabriel2::balancer
…
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.