Fix imports in the playlist example

This commit is contained in:
Anton Liaposhchenko 2023-12-31 00:49:39 +02:00
parent 13eb658cb9
commit 75d6db0ee8
3 changed files with 8 additions and 7 deletions

View File

@ -1,6 +1,6 @@
use anyhow::Result; use anyhow::Result;
use bliss_audio::playlist::{closest_to_first_song, dedup_playlist, euclidean_distance}; use bliss_rs::playlist::{closest_to_first_song, dedup_playlist, euclidean_distance};
use bliss_audio::{analyze_paths, Song}; use bliss_rs::bliss_lib::{analyze_paths, Song};
use clap::{App, Arg}; use clap::{App, Arg};
use glob::glob; use glob::glob;
use std::env; use std::env;

View File

@ -65,11 +65,6 @@
#![cfg_attr(feature = "bench", feature(test))] #![cfg_attr(feature = "bench", feature(test))]
#![warn(missing_docs)] #![warn(missing_docs)]
extern crate crossbeam;
extern crate num_cpus;
#[cfg(feature = "serde")]
#[macro_use]
extern crate serde;
use crate::cue::BlissCue; use crate::cue::BlissCue;
use log::info; use log::info;
use std::num::NonZeroUsize; use std::num::NonZeroUsize;

View File

@ -1,3 +1,9 @@
extern crate crossbeam;
extern crate num_cpus;
#[cfg(feature = "serde")]
#[macro_use]
extern crate serde;
pub mod bliss_lib; pub mod bliss_lib;
mod chroma; mod chroma;
pub mod cue; pub mod cue;