Cargo Features
[dependencies]
toluol = { version = "2.0.0", default-features = false, features = ["http", "json", "tls"] }
- default = http, json, tls
-
These default features are set whenever
toluol
is added without
somewhere in the dependency tree.default-features = false - http default = ureq
-
Affects
net::send_query_http
… - json default = serde_json
-
Enables serde of toluol-proto
Affects
args::Args.json
… - tls default = rustls, webpki-roots
-
Affects
net::send_query_tls
…
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.
- rustls tls
-
Enables rustls ^0.20
- serde_json json
- ureq http
- webpki-roots tls
-
Enables webpki-roots ^0.22