Cargo Features
[dependencies]
neust = { version = "0.0.1", default-features = false, features = ["native-tls", "rustls-tls", "json", "wechat", "webvpn"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverneust
is added without
somewhere in the dependency tree.default-features = false - native-tls default
-
Enables native-tls of reqwest ^0.11
reqwest:
Enables native-tls specific functionality not available by default.
- rustls-tls
-
Enables rustls-tls of reqwest ^0.11
- json
-
Enables json of reqwest ^0.11
- wechat = rand
- webvpn = aes, cfb-mode, hex
-
Affects
neust::webvpn
…
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.