diff --git a/justfile b/justfile index e257a0c..add75dd 100644 --- a/justfile +++ b/justfile @@ -20,12 +20,10 @@ embedded: cargo build --target thumbv7em-none-eabihf --no-default-features --features "defmt, packet-buf-1k" docs: - export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" - cargo +nightly doc --features "serde, defmt" + RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --features "serde, defmt" docs-html: - export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" - cargo +nightly doc --features "serde, defmt" --open + RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --features "serde, defmt" --open coverage: cargo llvm-cov nextest diff --git a/src/lib.rs b/src/lib.rs index edbb3f8..3a6a3e7 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -109,7 +109,7 @@ //! [threadpool](https://docs.rs/threadpool/latest/threadpool/). #![no_std] // Show which crate feature enables conditionally compiled APIs in documentation. -#![cfg_attr(docsrs, feature(doc_cfg, doc_auto_cfg))] +#![cfg_attr(docsrs, feature(doc_cfg))] #[cfg(feature = "alloc")] extern crate alloc; #[cfg(any(feature = "std", test))]