mirror of
https://github.com/tokio-rs/axum.git
synced 2026-09-08 00:00:24 +02:00
Reorder some TOML sections (#3360)
This commit is contained in:
+38
-27
@@ -11,11 +11,42 @@ readme = "README.md"
|
||||
repository = "https://github.com/tokio-rs/axum"
|
||||
version = "0.10.1"
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
[package.metadata.cargo-public-api-crates]
|
||||
allowed = [
|
||||
"axum",
|
||||
"axum_core",
|
||||
"axum_macros",
|
||||
"bytes",
|
||||
"cookie",
|
||||
"futures_core",
|
||||
"futures_util",
|
||||
"headers",
|
||||
"headers_core",
|
||||
"http",
|
||||
"http_body",
|
||||
"pin_project_lite",
|
||||
"prost",
|
||||
"serde",
|
||||
"tokio",
|
||||
"tokio_util",
|
||||
"tower_layer",
|
||||
"tower_service",
|
||||
]
|
||||
|
||||
[features]
|
||||
default = ["tracing"]
|
||||
|
||||
async-read-body = ["dep:tokio-util", "tokio-util?/io", "dep:tokio"]
|
||||
file-stream = ["dep:tokio-util", "tokio-util?/io", "dep:tokio", "tokio?/fs", "tokio?/io-util"]
|
||||
file-stream = [
|
||||
"dep:tokio-util",
|
||||
"tokio-util?/io",
|
||||
"dep:tokio",
|
||||
"tokio?/fs",
|
||||
"tokio?/io-util",
|
||||
]
|
||||
attachment = ["dep:tracing"]
|
||||
error-response = ["dep:tracing", "tracing/std"]
|
||||
cookie = ["dep:cookie"]
|
||||
@@ -39,7 +70,12 @@ scheme = []
|
||||
query = ["dep:form_urlencoded", "dep:serde_html_form", "dep:serde_path_to_error"]
|
||||
tracing = ["axum-core/tracing", "axum/tracing", "dep:tracing"]
|
||||
typed-header = ["dep:headers"]
|
||||
typed-routing = ["dep:axum-macros", "dep:percent-encoding", "dep:serde_html_form", "dep:form_urlencoded"]
|
||||
typed-routing = [
|
||||
"dep:axum-macros",
|
||||
"dep:percent-encoding",
|
||||
"dep:serde_html_form",
|
||||
"dep:form_urlencoded",
|
||||
]
|
||||
|
||||
# Enabled by docs.rs because it uses all-features
|
||||
__private_docs = [
|
||||
@@ -95,28 +131,3 @@ tracing-subscriber = "0.3.19"
|
||||
|
||||
[lints]
|
||||
workspace = true
|
||||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
|
||||
[package.metadata.cargo-public-api-crates]
|
||||
allowed = [
|
||||
"axum",
|
||||
"axum_core",
|
||||
"axum_macros",
|
||||
"bytes",
|
||||
"cookie",
|
||||
"futures_core",
|
||||
"futures_util",
|
||||
"headers",
|
||||
"headers_core",
|
||||
"http",
|
||||
"http_body",
|
||||
"pin_project_lite",
|
||||
"prost",
|
||||
"serde",
|
||||
"tokio",
|
||||
"tokio_util",
|
||||
"tower_layer",
|
||||
"tower_service",
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user