Cargo Features
[dependencies]
switchy_tcp = { version = "0.1.3", default-features = false, features = ["fail-on-warnings", "simulator", "tokio"] }
- default = simulator, tokio
-
These default features are set whenever
switchy_tcp
is added without
somewhere in the dependency tree.default-features = false - fail-on-warnings
- simulator default
-
Enables simulator of switchy_async and bytes, flume, and scoped-tls
bytes:
Simulator
Affects
switchy_tcp::simulator
… - tokio default
-
Enables tokio of switchy_async
Affects
switchy_tcp::tokio
…