Skip to content

Commit

Permalink
cargo: prepare std feature
Browse files Browse the repository at this point in the history
  • Loading branch information
phip1611 committed Apr 28, 2024
1 parent be9c7e6 commit 425d161
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -84,18 +84,22 @@ SOFTWARE.
extern crate std;

mod audio_history;
mod beat_detector;
mod envelope_iterator;
mod max_min_iterator;
mod root_iterator;

mod beat_detector;
#[cfg(feature = "std")]
mod stdlib;
/// PRIVATE. For tests and helper binaries.
#[cfg(test)]
mod test_utils;

pub use audio_history::{AudioHistory, SampleInfo};
pub use beat_detector::{AudioInput, BeatDetector, BeatInfo};
pub use envelope_iterator::{EnvelopeInfo, EnvelopeIterator};
#[cfg(feature = "std")]
pub use std::*;

use max_min_iterator::MaxMinIterator;
use root_iterator::RootIterator;

Expand Down
1 change: 1 addition & 0 deletions src/stdlib/mod.rs
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
pub mod recording;
Empty file added src/stdlib/recording/mod.rs
Empty file.

0 comments on commit 425d161

Please sign in to comment.