mirror of
https://github.com/tokio-rs/axum.git
synced 2024-12-12 09:50:45 +01:00
Some documentation fixes (#3027)
This commit is contained in:
parent
8bc326cc3d
commit
da4580247a
7 changed files with 10 additions and 9 deletions
|
@ -57,4 +57,3 @@ allowed = [
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
|
@ -84,7 +84,6 @@ tower-http = { version = "0.6.0", features = ["map-response-body", "timeout"] }
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[package.metadata.cargo-public-api-crates]
|
[package.metadata.cargo-public-api-crates]
|
||||||
allowed = [
|
allowed = [
|
||||||
|
|
|
@ -43,4 +43,3 @@ allowed = []
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
|
@ -37,8 +37,13 @@ tower-log = ["tower/log"]
|
||||||
tracing = ["dep:tracing", "axum-core/tracing"]
|
tracing = ["dep:tracing", "axum-core/tracing"]
|
||||||
ws = ["dep:hyper", "tokio", "dep:tokio-tungstenite", "dep:sha1", "dep:base64"]
|
ws = ["dep:hyper", "tokio", "dep:tokio-tungstenite", "dep:sha1", "dep:base64"]
|
||||||
|
|
||||||
# Required for intra-doc links to resolve correctly
|
__private_docs = [
|
||||||
__private_docs = ["tower/full", "dep:tower-http"]
|
# We re-export some docs from axum-core via #[doc(inline)],
|
||||||
|
# but they need the same sort of treatment as below to be complete
|
||||||
|
"axum-core/__private_docs",
|
||||||
|
# Enables upstream things linked to in docs
|
||||||
|
"tower/full", "dep:tower-http",
|
||||||
|
]
|
||||||
|
|
||||||
[dependencies]
|
[dependencies]
|
||||||
async-trait = "0.1.67"
|
async-trait = "0.1.67"
|
||||||
|
@ -128,7 +133,6 @@ uuid = { version = "1.0", features = ["serde", "v4"] }
|
||||||
|
|
||||||
[package.metadata.docs.rs]
|
[package.metadata.docs.rs]
|
||||||
all-features = true
|
all-features = true
|
||||||
rustdoc-args = ["--cfg", "docsrs"]
|
|
||||||
|
|
||||||
[dev-dependencies.tower]
|
[dev-dependencies.tower]
|
||||||
package = "tower"
|
package = "tower"
|
||||||
|
|
Loading…
Reference in a new issue