Cargo Features
[dependencies]
tower-oauth2-resource-server = { version = "0.1.5", default-features = false, features = ["default-tls", "native-tls", "rustls-tls"] }
- default = default-tls
-
The
default-tls
feature is set by default whenevertower-oauth2-resource-server
is added without
somewhere in the dependency tree.default-features = false - default-tls default
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- native-tls
-
Enables native-tls of reqwest
reqwest:
Enables native-tls specific functionality not available by default.
- rustls-tls
-
Enables rustls-tls of reqwest
tower-oauth2-resource-server has 4 features without comments.