diff --git a/examples/playlist.rs b/examples/playlist.rs index 86e118f..c08d57e 100644 --- a/examples/playlist.rs +++ b/examples/playlist.rs @@ -1,6 +1,6 @@ use anyhow::Result; -use bliss_audio::playlist::{closest_to_first_song, dedup_playlist, euclidean_distance}; -use bliss_audio::{analyze_paths, Song}; +use bliss_rs::playlist::{closest_to_first_song, dedup_playlist, euclidean_distance}; +use bliss_rs::bliss_lib::{analyze_paths, Song}; use clap::{App, Arg}; use glob::glob; use std::env; diff --git a/src/bliss_lib.rs b/src/bliss_lib.rs index a8f638d..670ceda 100644 --- a/src/bliss_lib.rs +++ b/src/bliss_lib.rs @@ -65,11 +65,6 @@ #![cfg_attr(feature = "bench", feature(test))] #![warn(missing_docs)] -extern crate crossbeam; -extern crate num_cpus; -#[cfg(feature = "serde")] -#[macro_use] -extern crate serde; use crate::cue::BlissCue; use log::info; use std::num::NonZeroUsize; diff --git a/src/lib.rs b/src/lib.rs index 7f3f9c4..03c0d51 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -1,3 +1,9 @@ +extern crate crossbeam; +extern crate num_cpus; +#[cfg(feature = "serde")] +#[macro_use] +extern crate serde; + pub mod bliss_lib; mod chroma; pub mod cue;