Cargo Features
Swanling has no features set by default.
[dependencies]
swanling = { version = "0.0.0", features = ["gaggle", "rustls-tls"] }
- default
-
These default features are set whenever
swanling
is added without
somewhere in the dependency tree.default-features = false Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- gaggle = nng
- rustls-tls
-
Enables rustls-tls of reqwest ^0.11 and tokio-tungstenite ^0.15
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.