Cargo Features

qcs-api-client-grpc has no features set by default.

[dependencies]
qcs-api-client-grpc = { version = "0.11.2", features = ["server", "regen", "grpc-web", "otel-tracing", "tracing-opentelemetry", "tracing", "tracing-config"] }
server

Affects services.controller::controller_server, services.translation::translation_server

regen
grpc-web

Can be used to provide HTTP/1.1 support.

Enables tonic-web

otel-tracing = tracing-opentelemetry

The old name of the tracing-opentelemetry feature, here for backwards compatibility

tracing-opentelemetry otel-tracing? = tracing, tracing-config

Enables opentelemetry ^0.24.0 and opentelemetry-http ^0.13.0, tracing-config of qcs-api-client-common

tracing tracing-config? tracing-opentelemetry? = urlpattern

Enables tracing, tracing-config of qcs-api-client-common

Affects channel::wrap_channel_with_tracing

tracing-config tracing-opentelemetry? = tracing

Enables tracing-config of qcs-api-client-common

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.

urlpattern tracing?

Enables urlpattern ^0.2.0