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 wheneveraxum-extra
is added without
somewhere in the dependency tree.default-features = false - 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 cookie
Affects
extract::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
-
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
- 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
…
Features from optional dependencies
- async-stream implicit feature
-
Enables async-stream
optional dependencies