Cargo Features
[dependencies]
octocrab = { version = "0.42.1", default-features = false, features = ["follow-redirect", "retry", "rustls", "rustls-ring", "rustls-aws-lc-rs", "rustls-webpki-tokio", "opentls", "stream", "timeout", "default-client", "tracing"] }
- default = default-client, follow-redirect, retry, rustls, rustls-ring, timeout, tracing
-
These default features are set whenever
octocrab
is added without
somewhere in the dependency tree.default-features = false - follow-redirect default
-
Enables follow-redirect of tower-http
- retry default = futures-util
-
Affects
middleware::retry
… - rustls default = hyper-rustls
- rustls-ring default
-
Enables ring of hyper-rustls
- rustls-aws-lc-rs
-
Enables aws-lc-rs of hyper-rustls
- rustls-webpki-tokio
-
Enables webpki-tokio of hyper-rustls
- opentls = hyper-tls
- stream = futures-core, futures-util
- timeout default = hyper-timeout, tokio
- default-client default
-
Enables client-legacy of hyper-util
Affects
octocrab::initialise
,octocrab::instance
…
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.