Cargo Features
[dependencies]
sans-io-runtime = { version = "0.3.0", default-features = false, features = ["tun-tap", "udp", "polling-backend", "poll-backend"] }
- default = poll-backend, polling-backend, udp
-
These default features are set whenever
sans-io-runtime
is added without
somewhere in the dependency tree.default-features = false - tun-tap = tun
-
Affects
backend::tun
… - udp default
- polling-backend default = polling, socket2
- poll-backend default = socket2
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.