Add `docsrs` feature to axum-core and axum-macros (#2164)

This commit is contained in:
David Pedersen 2023-09-16 21:47:49 +02:00 committed by GitHub
parent 268ba08e8e
commit 449e4c1138
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 8 additions and 0 deletions

View File

@ -52,3 +52,7 @@ allowed = [
"http_body",
"tower_layer",
]
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]

View File

@ -41,3 +41,7 @@ trybuild = "1.0.63"
[package.metadata.cargo-public-api-crates]
allowed = []
[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]