Cargo Features
[dependencies]
workos = { version = "0.2.0", default-features = false, features = ["native-tls", "rustls-tls"] }
- default = rustls-tls
-
The
rustls-tls
feature is set by default wheneverworkos
is added without
somewhere in the dependency tree.default-features = false - native-tls = openssl
-
Enables default-tls of reqwest ^0.11
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls default = pem, ring
-
Enables rustls-tls of reqwest ^0.11
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.
- openssl native-tls?
- pem rustls-tls
-
Enables pem ^0.8
- ring rustls-tls
-
Enables ring ^0.16