Cargo Features

[dependencies]
axum-extra = { version = "0.10.0-rc.1", default-features = false, features = ["async-read-body", "file-stream", "attachment", "error-response", "cookie", "cookie-signed", "cookie-key-expansion", "erased-json", "form", "json-deserializer", "json-lines", "multipart", "protobuf", "scheme", "query", "tracing", "typed-header", "typed-routing", "cookie-private", "async-stream"] }
default = tracing

The tracing feature is set by default whenever axum-extra is added without default-features = false somewhere in the dependency tree.

async-read-body

Enables tokio, io of tokio-util

Affects async_read_body::AsyncReadBody

file-stream

Enables fs and io-util of tokio, io of tokio-util

Affects response::file_stream

attachment

Enables tracing

error-response

Enables std of tracing

Enables cookie

Affects extract::cookie

Enables signed of optional cookie

Enables key-expansion of optional cookie

erased-json

Enables serde_json and typed-json

form

Enables serde_html_form

Affects form::Form, form::FormRejection

json-deserializer

Enables serde_json and serde_path_to_error

json-lines

Enables serde_json and tokio, io-util of tokio-stream, io of tokio-util

Affects axum-extra::json_lines

multipart

Enables fastrand and multer

Affects extract::multipart, response::multiple

protobuf

Enables prost

Affects axum-extra::protobuf

scheme
query

Enables serde_html_form

Affects query::QueryRejection, query::OptionalQueryRejection

tracing default

Enables tracing of axum and axum-core

typed-header

Enables headers

Affects axum-extra::typed_header, typed_header::TypedHeader, typed_header::TypedHeaderRejection, typed_header::TypedHeaderRejectionReason

typed-routing

Enables axum-macros, form_urlencoded, percent-encoding, and serde_html_form

Affects routing::RouterExt.typed_get, routing::RouterExt.typed_delete, routing::RouterExt.typed_head, routing::RouterExt.typed_options, routing::RouterExt.typed_patch, routing::RouterExt.typed_post, routing::RouterExt.typed_put, routing::RouterExt.typed_trace, routing::RouterExt.typed_connect

Enables private of optional cookie

Features from optional dependencies

async-stream implicit feature

Enables async-stream

optional dependencies