Skip to content

Commit

Permalink
Add docsrs feature to axum-core and axum-macros (#2164)
Browse files Browse the repository at this point in the history
  • Loading branch information
davidpdrsn authored Sep 16, 2023
1 parent 268ba08 commit 449e4c1
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions axum-core/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -52,3 +52,7 @@ allowed = [
"http_body",
"tower_layer",
]

[package.metadata.docs.rs]
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
4 changes: 4 additions & 0 deletions axum-macros/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"]

0 comments on commit 449e4c1

Please sign in to comment.