Add a feature flag to enable doc_auto_cfg
This commit is contained in:
parent
c3b1ded35b
commit
1e12fbe3f5
|
@ -40,6 +40,8 @@ assert_process_allocs = ["assert_no_alloc"]
|
|||
# Add adapters to the Buffer object for reading the channel data to and from
|
||||
# `std::simd` vectors. Requires a nightly compiler.
|
||||
simd = []
|
||||
# Only relevant when generating docs, adds the `doc_auto_cfg` nightly feature
|
||||
docs = []
|
||||
|
||||
[dependencies]
|
||||
nih_plug_derive = { path = "nih_plug_derive" }
|
||||
|
|
|
@ -1,6 +1,7 @@
|
|||
//! Documentation is currently a work in progress. Import everything from the [`prelude`] module and
|
||||
//! check out the example plugins to get started.
|
||||
|
||||
#![cfg_attr(feature = "docs", feature(doc_auto_cfg))]
|
||||
#![cfg_attr(feature = "simd", feature(portable_simd))]
|
||||
|
||||
#[macro_use]
|
||||
|
|
Loading…
Reference in a new issue