Cargo Features
[dependencies]
axum-extra = { version = "0.12.5", default-features = false, features = ["async-read-body", "cached", "file-stream", "attachment", "error-response", "cookie", "cookie-signed", "cookie-key-expansion", "erased-json", "form", "handler", "json-deserializer", "json-lines", "middleware", "multipart", "optional-path", "protobuf", "routing", "scheme", "query", "tracing", "typed-header", "typed-routing", "with-rejection", "cookie-private"] }
- default = tracing
-
The
tracingfeature is set by default wheneveraxum-extrais added withoutsomewhere in the dependency tree.default-features = false - async-read-body
-
Enables tokio, io of tokio-util
Affects
async_read_body::AsyncReadBody… - cached
-
Enables axum
optional dependencies
- file-stream
-
Enables fs and io-util of tokio, io of tokio-util
Affects
response::file_stream… - attachment
-
Enables tracing
- error-response
-
Enables cookie
Affects
extract::cookie… -
Enables key-expansion of optional cookie
- erased-json
-
Enables serde_core, serde_json, and typed-json
- form
-
Enables axum, form_urlencoded, serde_core, serde_html_form ^0.2.0, and serde_path_to_error
Affects
form::Form… - handler
-
Enables axum
Affects
axum-extra::handler… - json-deserializer
-
Enables serde_core, serde_json, and serde_path_to_error
- json-lines
-
Enables serde_core, serde_json, and tokio, io-util of tokio-stream, io of tokio-util
Affects
axum-extra::json_lines… - middleware
-
Enables axum
Affects
axum-extra::middleware… - multipart
-
Affects
extract::multipart,response::multiple… - optional-path
-
Enables axum and serde_core
- protobuf
-
Enables prost
Affects
axum-extra::protobuf… - routing typed-routing?
-
Enables rustversion, original-uri of axum
Affects
axum-extra::routing… - scheme
- query
-
Enables form_urlencoded, serde_core, serde_html_form ^0.2.0, and serde_path_to_error
- tracing default
- typed-header
-
Enables headers
Affects
axum-extra::typed_header,typed_header::TypedHeader,typed_header::TypedHeaderRejection,typed_header::TypedHeaderRejectionReason… - typed-routing = routing
-
Enables axum-macros, form_urlencoded, percent-encoding, serde_core, and serde_html_form ^0.2.0
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… - with-rejection
-
Enables axum