diff --git a/compio-buf/src/lib.rs b/compio-buf/src/lib.rs index d67573b5..3c8d5ffc 100644 --- a/compio-buf/src/lib.rs +++ b/compio-buf/src/lib.rs @@ -4,7 +4,7 @@ //! crate defines [`IoBuf`] and [`IoBufMut`] traits which are implemented by //! buffer types that respect the safety contract. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(feature = "allocator_api", feature(allocator_api))] #![cfg_attr(feature = "read_buf", feature(read_buf, core_io_borrowed_buf))] #![cfg_attr(feature = "try_trait_v2", feature(try_trait_v2, try_trait_v2_residual))] diff --git a/compio-driver/src/lib.rs b/compio-driver/src/lib.rs index 9840d402..f51562ae 100644 --- a/compio-driver/src/lib.rs +++ b/compio-driver/src/lib.rs @@ -1,7 +1,7 @@ //! The platform-specified driver. //! Some types differ by compilation target. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(feature = "once_cell_try", feature(once_cell_try))] #![warn(missing_docs)] diff --git a/compio-fs/src/lib.rs b/compio-fs/src/lib.rs index 9c441509..c1eef6cb 100644 --- a/compio-fs/src/lib.rs +++ b/compio-fs/src/lib.rs @@ -1,6 +1,6 @@ //! Filesystem manipulation operations. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] #![cfg_attr(feature = "read_buf", feature(read_buf, core_io_borrowed_buf))] #![cfg_attr( diff --git a/compio-io/src/lib.rs b/compio-io/src/lib.rs index 3b6cc816..5a394868 100644 --- a/compio-io/src/lib.rs +++ b/compio-io/src/lib.rs @@ -110,7 +110,7 @@ #![allow(async_fn_in_trait)] #![cfg_attr(feature = "allocator_api", feature(allocator_api))] #![cfg_attr(feature = "read_buf", feature(read_buf, core_io_borrowed_buf))] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] use std::{future::Future, pin::Pin}; type PinBoxFuture = Pin>>; diff --git a/compio-net/src/lib.rs b/compio-net/src/lib.rs index 849643e0..579623b3 100644 --- a/compio-net/src/lib.rs +++ b/compio-net/src/lib.rs @@ -2,7 +2,7 @@ //! //! Currently, TCP/UDP/Unix socket are implemented. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(feature = "once_cell_try", feature(once_cell_try))] #![warn(missing_docs)] diff --git a/compio-process/src/lib.rs b/compio-process/src/lib.rs index f3e4a38f..606f243e 100644 --- a/compio-process/src/lib.rs +++ b/compio-process/src/lib.rs @@ -1,6 +1,6 @@ //! Process library for compio. It is an extension to [`std::process`]. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr( all(feature = "linux_pidfd", target_os = "linux"), feature(linux_pidfd) diff --git a/compio-quic/src/lib.rs b/compio-quic/src/lib.rs index 8dc40cb2..cc240e91 100644 --- a/compio-quic/src/lib.rs +++ b/compio-quic/src/lib.rs @@ -4,7 +4,7 @@ //! //! [`quinn`]: https://docs.rs/quinn -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] pub use quinn_proto::{ diff --git a/compio-runtime/src/lib.rs b/compio-runtime/src/lib.rs index a639072d..26d85856 100644 --- a/compio-runtime/src/lib.rs +++ b/compio-runtime/src/lib.rs @@ -8,7 +8,7 @@ //! assert_eq!(ans, 42); //! ``` -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] mod affinity; diff --git a/compio-signal/src/lib.rs b/compio-signal/src/lib.rs index 1256fefd..15bb5265 100644 --- a/compio-signal/src/lib.rs +++ b/compio-signal/src/lib.rs @@ -13,7 +13,7 @@ //! # }) //! ``` -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![cfg_attr(feature = "once_cell_try", feature(once_cell_try))] #![cfg_attr(feature = "lazy_cell", feature(lazy_cell))] #![warn(missing_docs)] diff --git a/compio-tls/src/lib.rs b/compio-tls/src/lib.rs index 07f147ec..238053aa 100644 --- a/compio-tls/src/lib.rs +++ b/compio-tls/src/lib.rs @@ -2,7 +2,7 @@ #![warn(missing_docs)] #![cfg_attr(feature = "read_buf", feature(read_buf, core_io_borrowed_buf))] -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(all(not(feature = "native-tls"), not(feature = "rustls")))] compile_error!("You must choose at least one of these features: [\"native-tls\", \"rustls\"]"); diff --git a/compio/src/lib.rs b/compio/src/lib.rs index 2aa68556..272cf895 100644 --- a/compio/src/lib.rs +++ b/compio/src/lib.rs @@ -19,7 +19,7 @@ //! # }) //! ``` -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #![warn(missing_docs)] #[doc(no_inline)]