Cargo Features

twapi-v2 has no features set by default.

[dependencies]
twapi-v2 = { version = "0.14.2", features = ["rustls-tls", "retry", "oauth", "oauth10a", "models", "upload"] }
default

These default features are set whenever twapi-v2 is added without default-features = false somewhere in the dependency tree.

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

Enables multipart of reqwest

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.

base64 oauth10a?
hmac oauth10a?
oauth2 oauth?
rand oauth10a?
reqwest default rustls-tls? upload?
sha1 oauth10a?
tokio retry? upload?
form_urlencoded oauth10a?