Cargo Features
[dependencies]
tonic-veecore = { version = "0.14.0", default-features = false, features = ["codegen", "deflate", "zstd", "tls-ring", "tls-aws-lc", "tls-native-roots", "tls-webpki-roots", "router", "server", "channel", "transport", "grpc_config"] }
- default = codegen, grpc_config, router, transport
-
These default features are set whenever
tonic-veecoreis added withoutsomewhere in the dependency tree.default-features = false - codegen default
-
Enables async-trait
Affects
tonic-veecore::codegen… - gzip deflate
-
Enables flate2
compression
- zstd
-
Enables zstd
- _tls-any tls-aws-lc? tls-native-roots? tls-ring? tls-webpki-roots?
-
Internal. Please choose one of
tls-ringortls-aws-lcEnables tokio-rustls, macros and rt of tokio
Affects
conn::TlsConnectInfo… - tls-ring = _tls-any
-
Enables ring of tokio-rustls
- tls-aws-lc = _tls-any
-
Enables aws-lc-rs of tokio-rustls
tokio-rustls:
Alias because Cargo features commonly use
- - tls-native-roots = _tls-any, channel
-
Enables rustls-native-certs
rustls
- tls-webpki-roots = _tls-any, channel
-
Enables webpki-roots
- router default
-
Affects
server::Router… - server transport
-
Enables socket2, server of hyper, server-auto and service of hyper-util, macros, net and time of tokio, net of tokio-stream, limit, load-shed and util of tower and h2
transport
Affects
transport::server,tonic-veecore::transport… - channel tls-native-roots? tls-webpki-roots? transport
-
Enables hyper-timeout, client-legacy of hyper-util, time of tokio, balance, buffer, discover, limit, load-shed and util of tower and client of hyper
hyper:
Client/Server
Affects
transport::channel,tonic-veecore::transport… - transport default = channel, server
- grpc_config default
-
Affects
grpc::GrpcBuilder…
Features from optional dependencies
harness = false