Cargo Features
[dependencies]
aliri_oauth2 = { version = "0.10.2", default-features = false, features = ["ec", "rsa", "hmac", "private-keys", "rustls-tls", "default-tls", "tokio"] }
- default = reqwest, rsa, tokio
-
These default features are set whenever
aliri_oauth2
is added without
somewhere in the dependency tree.default-features = false - ec
- rsa default
- hmac
- private-keys
-
Enables private-keys of aliri
- rustls-tls
-
Enables rustls-tls of reqwest
- default-tls
-
Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
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.
- reqwest default default-tls? rustls-tls?
- tokio default