removed doc_auto_cfg feature
This commit is contained in:
6
justfile
6
justfile
@@ -20,12 +20,10 @@ embedded:
|
|||||||
cargo build --target thumbv7em-none-eabihf --no-default-features --features "defmt, packet-buf-1k"
|
cargo build --target thumbv7em-none-eabihf --no-default-features --features "defmt, packet-buf-1k"
|
||||||
|
|
||||||
docs:
|
docs:
|
||||||
export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options"
|
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --features "serde, defmt"
|
||||||
cargo +nightly doc --features "serde, defmt"
|
|
||||||
|
|
||||||
docs-html:
|
docs-html:
|
||||||
export RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options"
|
RUSTDOCFLAGS="--cfg docsrs --generate-link-to-definition -Z unstable-options" cargo +nightly doc --features "serde, defmt" --open
|
||||||
cargo +nightly doc --features "serde, defmt" --open
|
|
||||||
|
|
||||||
coverage:
|
coverage:
|
||||||
cargo llvm-cov nextest
|
cargo llvm-cov nextest
|
||||||
|
@@ -109,7 +109,7 @@
|
|||||||
//! [threadpool](https://docs.rs/threadpool/latest/threadpool/).
|
//! [threadpool](https://docs.rs/threadpool/latest/threadpool/).
|
||||||
#![no_std]
|
#![no_std]
|
||||||
// Show which crate feature enables conditionally compiled APIs in documentation.
|
// 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")]
|
#[cfg(feature = "alloc")]
|
||||||
extern crate alloc;
|
extern crate alloc;
|
||||||
#[cfg(any(feature = "std", test))]
|
#[cfg(any(feature = "std", test))]
|
||||||
|
Reference in New Issue
Block a user