mirror of
https://github.com/tokio-rs/axum.git
synced 2024-11-22 15:17:18 +01:00
docsrs cfg fixes (#1137)
* Remove unused attribute in axum-core * Fix docs.rs package metadata for axum-extra
This commit is contained in:
parent
34146f3139
commit
8c31bee9bc
2 changed files with 1 additions and 2 deletions
|
@ -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]
|
||||
|
|
|
@ -58,4 +58,4 @@ tower = { version = "0.4", features = ["util"] }
|
|||
|
||||
[package.metadata.docs.rs]
|
||||
all-features = true
|
||||
rustdocflags = ["--cfg", "docsrs"]
|
||||
rustdoc-args = ["--cfg", "docsrs"]
|
||||
|
|
Loading…
Reference in a new issue