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 committed Sep 16, 2023
1 parent 0b7bf4b commit 508f7d8
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 @@ -49,3 +49,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 508f7d8

Please sign in to comment.