diff --git a/CHANGELOG.md b/CHANGELOG.md index 4f14fc5..2e60e96 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -10,6 +10,7 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0 ### Added - Added async support for Tokio runtime. +- Added `doc_auto_cfg` feature. ## [0.0.0] - 2023-12-21 diff --git a/src/lib.rs b/src/lib.rs index b3332c1..5bfb01c 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -58,6 +58,7 @@ //! //! This crate is licensed under the MIT License. +#![cfg_attr(docsrs, feature(doc_auto_cfg))] #![forbid(unsafe_code)] use std::io::{self, Write};