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
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

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]

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"]