Cargo Features

[dependencies]
aaru = { version = "0.1.9", default-features = false, features = ["all", "tracing", "grpc_server", "http_server", "tile", "route", "codec", "mimalloc"] }
default = codec, mimalloc, route

These default features are set whenever aaru is added without default-features = false somewhere in the dependency tree.

all = codec, route, tile
tracing = opentelemetry, opentelemetry-otlp, opentelemetry_sdk, tracing-opentelemetry, tracing-subscriber

Enables tracing

Tracing [Optional-"tracing"]

Affects util::trace

grpc_server route = tokio, tonic, tonic-reflection, tonic-web, tower-http

Affects aaru::server

http_server tile? = axum, axum-macros, serde_qs, tokio, tower-http
tile all? = fast_hilbert, http_server

Affects aaru::tile

route default all? = codec, grpc_server, scc

Affects aaru::route

codec default all? route = flate2

Affects aaru::codec

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.

tonic grpc_server?

Enables tonic

gRPC Server Dependencies [Optional-"grpc_server"]

tonic-reflection grpc_server?
tonic-web grpc_server?
tokio grpc_server? http_server?
tower-http grpc_server? http_server?

Enables tower-http

HTTP Server Dependencies [Optional-"http_server"]

axum http_server?
axum-macros http_server?
serde_qs http_server?
tracing-subscriber tracing?
opentelemetry tracing?

Enables opentelemetry ^0.26.0

opentelemetry_sdk tracing?

Enables opentelemetry_sdk ^0.26.0

tracing-opentelemetry tracing?

Enables tracing-opentelemetry ^0.27.0

opentelemetry-otlp tracing?

Enables opentelemetry-otlp ^0.26.0

flate2 codec
fast_hilbert tile?
scc route
mimalloc default