Cargo Features
[dependencies]
jsonrpsee-http-client = { version = "0.22.4", default-features = false, features = ["native-tls", "webpki-tls"] }
- default = native-tls
-
The
native-tls
feature is set by default wheneverjsonrpsee-http-client
is added without
somewhere in the dependency tree.default-features = false - native-tls default = hyper-rustls
-
Enables native-tokio of hyper-rustls ^0.24
- webpki-tls = hyper-rustls
-
Enables webpki-tokio of hyper-rustls ^0.24
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.