Cargo Features
[dependencies]
yup-oauth2 = { version = "11.0.0", default-features = false, features = ["service_account", "service-account", "hyper-rustls", "ring", "aws-lc-rs", "hyper-tls"] }
- default = hyper-rustls, ring, service-account
-
These default features are set whenever
yup-oauth2
is added without
somewhere in the dependency tree.default-features = false - service_account = service-account
- service-account default service_account? = rustls-pemfile
-
Affects
authenticator::ServiceAccountAuthenticator
,helper::read_service_account_key
,helper::parse_service_account_key
… - hyper-rustls default
-
Enables hyper-rustls and rustls
Affects
authenticator::DefaultAuthenticator
,authenticator::AccessTokenAuthenticator
,authenticator::DefaultHyperClient
… - ring default
-
Enables ring of optional hyper-rustls and rustls
- aws-lc-rs
-
Enables aws_lc_rs of rustls, aws-lc-rs of optional hyper-rustls
- hyper-tls
-
Affects
authenticator::DefaultAuthenticator
,authenticator::AccessTokenAuthenticator
,authenticator::DefaultHyperClient
…
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.