Cargo Features

authzen-service-util = { version = "0.1.0-alpha.0", default-features = false, features = ["axum-05", "axum-06", "client", "db", "graphql", "grpc", "http1", "http2", "max-allowed-request-body-size-large", "max-allowed-request-body-size-medium", "max-allowed-request-body-size-small", "server", "trace", "try-join-safe", "axum-core", "cookie", "data-encoding", "mongodb", "ring", "tower-layer", "tower-service"] }
default = http1, max-allowed…body-size-medium

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


Enables axum ^0.5 and headers, axum-core-02 of authzen-session

Affects server::body_bytes


Enables axum ^0.6 and headers, axum-core-03 of authzen-session

Affects server::body_bytes

client = async-trait, concat-string, futures, serde, serde_json, serde_qs, trace

Enables client of hyper ^0



db = authzen-diesel, diesel, serde
graphql = async-graphql, authzen-diesel, diesel, serde

Affects server::missing_session, server::missing_data

grpc = tonic
http1 default

Enables http1 of hyper ^0


HTTP versions


Enables http2 of hyper ^0

log_error max-allowed-request-body-size-large
max-allowed-request-body-size-medium default
server = authzen-session, derive_more, futures, serde, serde_json, tokio, tower, trace, try-join-safe, uuid

Enables rt-tokio of opentelemetry, macros of tokio, timeout of tower, request-id of tower-http

trace client? server? = opentelemetry, tracing-error, tracing-log, tracing-opentelemetry, tracing-subscriber, tracing-tree, uuid

Enables rt-tokio of opentelemetry-jaeger

try-join-safe server? = 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.

authzen-diesel db? graphql?
authzen-session axum-05? axum-06? server?
async-graphql graphql?

Enables async-graphql ^4

async-trait client?
axum-core implicit feature

Enables axum-core


Core types and traits for axum

concat-string client?
data-encoding implicit feature

Enables data-encoding


Efficient and customizable data-encoding functions like base64, base32, and hex

derive_more server?
diesel db? graphql?
futures client? server? try-join-safe?
mongodb implicit feature

Enables mongodb


The official MongoDB driver for Rust

opentelemetry server? trace?
opentelemetry-jaeger trace?
ring implicit feature

Enables ring


Safe, fast, small crypto using Rust

serde client? db? graphql? server?
serde_json client? server?
serde_qs client?
tonic grpc?
tokio server?
tower server?
tower-layer implicit feature

Enables tower-layer


Decorates a Service to allow easy composition between Services

tower-service implicit feature

Enables tower-service


Trait representing an asynchronous, request / response based, client or server

tracing-error trace?
tracing-log trace?
tracing-opentelemetry trace?
tracing-subscriber trace?
tracing-tree trace?
uuid server? trace?