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-02 11:04:57 +02:00
committed by David Pedersen
parent 7e794e9d1d
commit 98f64686e0
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"]