Cargo Features

axum-option has no features set by default.

[dependencies]
axum-option = { version = "0.1.0", features = ["headers", "axum-extra", "jwt-authorizer"] }
headers

Enables headers of axum ^0.6.12

Features from optional dependencies

axum-extra implicit feature

Enables axum-extra ^0.7.2

axum-extra:

Extra utilities for axum

jwt-authorizer implicit feature

Enables jwt-authorizer ^0.8.1

jwt-authorizer:

jwt authorizer middleware for axum and tonic