Skip to content

Commit

Permalink
docsrs cfg fixes (#1137)
Browse files Browse the repository at this point in the history
* Remove unused attribute in axum-core

* Fix docs.rs package metadata for axum-extra
  • Loading branch information
jplatte committed Jul 1, 2022
1 parent 34146f3 commit 8c31bee
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 2 deletions.
1 change: 0 additions & 1 deletion axum-core/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,6 @@
#![deny(unreachable_pub, private_in_public)]
#![allow(elided_lifetimes_in_paths, clippy::type_complexity)]
#![forbid(unsafe_code)]
#![cfg_attr(docsrs, feature(doc_cfg))]
#![cfg_attr(test, allow(clippy::float_cmp))]

#[macro_use]
Expand Down
2 changes: 1 addition & 1 deletion axum-extra/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -58,4 +58,4 @@ tower = { version = "0.4", features = ["util"] }

[package.metadata.docs.rs]
all-features = true
rustdocflags = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]

0 comments on commit 8c31bee

Please sign in to comment.