Cargo Features
twapi-v2 has no features set by default.
[dependencies]
twapi-v2 = { version = "0.15.2", features = ["rustls-tls", "retry", "oauth", "oauth10a", "models", "upload"] }
- default
-
These default features are set whenever
twapi-v2
is added without
somewhere in the dependency tree.default-features = false Enables default-tls of reqwest
reqwest:
Note: this doesn't enable the 'native-tls' feature, which adds specific functionality for it.
- rustls-tls
-
Enables rustls-tls of reqwest
- retry = tokio
-
Affects
twapi-v2::retry
… - oauth = oauth2
-
Affects
twapi-v2::oauth
… - oauth10a = base64, form_urlencoded, hmac, rand, sha1
-
Affects
twapi-v2::oauth10a
… - models
-
Affects
twapi-v2::models
… - upload = tokio
-
Affects
twapi-v2::upload
…
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.