Cargo Features
[dependencies]
octocrab_wasi = { version = "0.19.1", default-features = false, features = ["rustls", "wasi", "no-pool", "native-tls", "native-tls-alpn", "native-tls-vendored", "rustls-tls", "rustls-tls-manual-roots", "rustls-tls-webpki-roots", "rustls-tls-native-roots", "stream"] }
- default = native-tls, reqwest
-
These default features are set whenever
octocrab_wasi
is added without
somewhere in the dependency tree.default-features = false - rustls = rustls-tls
-
Leagcy support (<=0.17.0)
- wasi = reqwest_wasi
- no-pool
-
Enables no-pool of reqwest_wasi
reqwest_wasi:
Sets the maximum idle connection per host allowed in the pool to 0
- native-tls default
-
Enables native-tls specific functionality not available by default.
Enables native-tls of reqwest ^0.11.10
- native-tls-alpn
-
Enables native-tls-alpn of reqwest ^0.11.10
- native-tls-vendored
-
Enables native-tls-vendored of reqwest ^0.11.10
- rustls-tls rustls?
-
Enables rustls-tls of reqwest ^0.11.10
- rustls-tls-manual-roots
-
Enables rustls-tls-manual-roots of reqwest ^0.11.10
- rustls-tls-webpki-roots
-
Enables rustls-tls-webpki-roots of reqwest ^0.11.10
- rustls-tls-native-roots
-
Enables rustls-tls-native-roots of reqwest ^0.11.10
- stream = futures-core, futures-util
-
Enables stream of reqwest ^0.11.10
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.