Cargo Features
[dependencies]
tonic-arcanyx-fork = { version = "0.8.1-alpha.0", default-features = false, features = ["codegen", "gzip", "prost", "tls", "tls-roots", "tls-roots-common", "tls-webpki-roots", "transport", "channel"] }
- default = codegen, prost, transport
-
These default features are set whenever
tonic-arcanyx-fork
is added without
somewhere in the dependency tree.default-features = false - codegen default = async-trait
-
Affects
tonic-arcanyx-fork::codegen
… - gzip = flate2
- prost default = prost-derive, prost1
- tls tls-roots-common? = rustls-pemfile, tokio-rustls, transport
-
Affects
tls::ClientTlsConfig
,conn::TlsConnectInfo
,tls::ServerTlsConfig
,tls::Identity
… - tls-roots = rustls-native-certs, tls-roots-common
- tls-roots-common tls-roots? tls-webpki-roots? = tls
- tls-webpki-roots = tls-roots-common, webpki-roots
- transport default tls? = axum, channel
-
Affects
tonic-arcanyx-fork::transport
… - channel transport = h2, hyper, hyper-timeout, tokio, tower, tracing-futures
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.
harness = false
- prost-derive prost
-
Enables prost-derive ^0.11
prost
- prost1 prost
-
Enables prost ^0.11
- async-trait codegen
-
Enables async-trait
codegen
- h2 channel?
-
Enables h2 ^0.3
transport
- hyper channel?
-
Enables hyper ^0.14.14
- hyper-timeout channel?
-
Enables hyper-timeout ^0.4
- tokio channel?
- tower channel?
-
Enables tower ^0.4.7
- tracing-futures channel?
- axum transport
-
Enables axum ^0.5
- rustls-pemfile tls?
-
Enables rustls-pemfile ^1.0
rustls
- rustls-native-certs tls-roots?
-
Enables rustls-native-certs ^0.6.1
- tokio-rustls tls?
-
Enables tokio-rustls ^0.23.1
- webpki-roots tls-webpki-roots?
-
Enables webpki-roots ^0.22.1
- flate2 gzip?
-
Enables flate2
compression