diff --git a/justfile b/justfile index 822505e..75d5aee 100644 --- a/justfile +++ b/justfile @@ -20,12 +20,10 @@ build: cargo build --all-features docs: - export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" - cargo +nightly doc --all-features + RUSTDOCFLAGS="--cfg docsrs -Z unstable-options --generate-link-to-definition" cargo +nightly doc --all-features docs-html: - export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" - cargo +nightly doc --all-features --open + RUSTDOCFLAGS="--cfg docsrs -Z unstable-options --generate-link-to-definition" cargo +nightly doc --all-features --open coverage: cargo llvm-cov nextest diff --git a/src/lib.rs b/src/lib.rs index c9dfa6f..48bd6f5 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -57,7 +57,7 @@ //! println!("{:x?}", &ccsds_buf[0..6]); //! ``` #![no_std] -#![cfg_attr(docsrs, feature(doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(feature = "alloc")] extern crate alloc; #[cfg(any(feature = "std", test))]