Skip to content

Commit db1bbc2

Browse files
committed
avoid the use of doc_auto_cfg
1 parent 8819cc8 commit db1bbc2

File tree

2 files changed

+3
-2
lines changed

2 files changed

+3
-2
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -36,4 +36,4 @@ bit = ["rust_decimal"]
3636

3737
[package.metadata.docs.rs]
3838
all-features = true
39-
rustdoc-args = ["--cfg", "docsrs"]
39+
rustdoc-args = ["--cfg", "docsrs_1_92"]

src/lib.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -202,7 +202,8 @@ features = ["rocket"]
202202
*/
203203

204204
#![cfg_attr(not(feature = "std"), no_std)]
205-
#![cfg_attr(docsrs, feature(doc_auto_cfg))]
205+
#![allow(unexpected_cfgs)]
206+
#![cfg_attr(docsrs_1_92, feature(doc_cfg))]
206207

207208
#[cfg(all(feature = "serde", any(feature = "byte", feature = "bit")))]
208209
#[macro_use]

0 commit comments

Comments
 (0)