diff --git a/axum-core/src/lib.rs b/axum-core/src/lib.rs index 6d15aade..63e363e1 100644 --- a/axum-core/src/lib.rs +++ b/axum-core/src/lib.rs @@ -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] diff --git a/axum-extra/Cargo.toml b/axum-extra/Cargo.toml index 47b5ca64..e9abc7fe 100644 --- a/axum-extra/Cargo.toml +++ b/axum-extra/Cargo.toml @@ -58,4 +58,4 @@ tower = { version = "0.4", features = ["util"] } [package.metadata.docs.rs] all-features = true -rustdocflags = ["--cfg", "docsrs"] +rustdoc-args = ["--cfg", "docsrs"]