diff --git a/src/lib.rs b/src/lib.rs index d6742ea..ecff98a 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -110,6 +110,11 @@ //! The "tracing" feature replaces the print to stderr when a stream error happens with a //! recording an error event with tracing. //! +//! ### Feature "Noise" +//! +//! The "noise" feature adds support for white and pink noise sources. This feature requires the +//! "rand" crate. +//! //! ## How it works under the hood //! //! Rodio spawns a background thread that is dedicated to reading from the sources and sending @@ -121,15 +126,8 @@ //! the number of sinks that can be created (except for the fact that creating too many will slow //! down your program). //! -//! -//! ## Features -//! -//! Rodio provides several optional features that are guarded with feature gates. -//! -//! ### Feature "Noise" -//! -//! The "noise" feature adds support for white and pink noise sources. This feature requires the -//! "rand" crate. + + #![cfg_attr(test, deny(missing_docs))] pub use cpal::{ self, traits::DeviceTrait, Device, Devices, DevicesError, InputDevices, OutputDevices,