Cargo Features

[dependencies]
tower-oauth2-resource-server = { version = "0.1.2", default-features = false, features = ["default-tls", "native-tls", "rustls-tls"] }
default = default-tls

The default-tls feature is set by default whenever tower-oauth2-resource-server is added without default-features = false somewhere in the dependency tree.

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.