docsrs cfg fixes (#1137)

* Remove unused attribute in axum-core

* Fix docs.rs package metadata for axum-extra
This commit is contained in:
Jonas Platte
2022-07-01 13:35:52 +02:00
committed by GitHub
parent 34146f3139
commit 8c31bee9bc
2 changed files with 1 additions and 2 deletions
-1
View File
@@ -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]
+1 -1
View File
@@ -58,4 +58,4 @@ tower = { version = "0.4", features = ["util"] }
[package.metadata.docs.rs]
all-features = true
rustdocflags = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs"]