Cargo Features
[dependencies]
zap-tunnel-client = { version = "0.1.0", default-features = false, features = ["blocking", "async", "async-https"] }
- default = async, async-https, blocking
-
These default features are set whenever
zap-tunnel-client
is added without
somewhere in the dependency tree.default-features = false - blocking default = ureq
-
Affects
zap-tunnel-client::blocking
… - async default = reqwest
-
Enables socks of reqwest ^0.11
Affects
zap-tunnel-client::r#async
… - async-https default
-
Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
Affects
zap-tunnel-client::r#async
…
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.
- ureq blocking
- reqwest async async-https
-
Enables reqwest ^0.11