Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
1 change: 1 addition & 0 deletions axum-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ ignored = ["tower-http"] # See __private_docs feature
all-features = true

[features]
full = ["tracing"]
tracing = ["dep:tracing"]

# Required for intra-doc links to resolve correctly
Expand Down
26 changes: 26 additions & 0 deletions axum-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -37,6 +37,32 @@ allowed_external_types = [
[features]
default = ["tracing"]

full = [
"async-read-body",
"cached",
"file-stream",
"attachment",
"error-response",
"cookie",
"cookie-private",
"cookie-signed",
"cookie-key-expansion",
"erased-json",
"form",
"handler",
"json-deserializer",
"json-lines",
"middleware",
"multipart",
"protobuf",
"routing",
"query",
"tracing",
"typed-header",
"typed-routing",
"with-rejection",
]

async-read-body = ["dep:tokio-util", "tokio-util?/io", "dep:tokio"]
cached = ["dep:axum"]
file-stream = [
Expand Down
15 changes: 15 additions & 0 deletions axum/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -49,6 +49,21 @@ default = [
"tower-log",
"tracing",
]
full = [
"form",
"http1",
"http2",
"json",
"macros",
"matched-path",
"multipart",
"original-uri",
"query",
"tokio",
"tower-log",
"tracing",
"ws",
]
form = [
"dep:form_urlencoded",
"dep:serde_html_form",
Expand Down
Loading