mirror of
https://github.com/pisto/oggify
synced 2024-11-24 15:17:30 +00:00
cleanup imports
This commit is contained in:
parent
5724254526
commit
1e60b6e9cc
@ -5,12 +5,11 @@ authors = ["Lorenzo Pistone <blaffablaffa@gmail.com>"]
|
||||
edition = "2018"
|
||||
|
||||
[dependencies]
|
||||
futures = "0.1.8"
|
||||
tokio-core = "0.1.2"
|
||||
tokio-core = "0.1.17"
|
||||
librespot-core = { git = "https://github.com/librespot-org/librespot.git" }
|
||||
librespot-metadata = { git = "https://github.com/librespot-org/librespot.git" }
|
||||
librespot-audio = { git = "https://github.com/librespot-org/librespot.git" }
|
||||
regex = "1"
|
||||
log = "0.4.0"
|
||||
regex = "1.1.0"
|
||||
log = "0.4.6"
|
||||
env_logger = "0.6.0"
|
||||
scoped_threadpool = "0.1.*"
|
||||
scoped_threadpool = "0.1.9"
|
||||
|
24
src/main.rs
24
src/main.rs
@ -1,28 +1,28 @@
|
||||
extern crate tokio_core;
|
||||
extern crate regex;
|
||||
extern crate env_logger;
|
||||
extern crate librespot_audio;
|
||||
extern crate librespot_core;
|
||||
extern crate librespot_metadata;
|
||||
extern crate librespot_audio;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
extern crate env_logger;
|
||||
extern crate regex;
|
||||
extern crate scoped_threadpool;
|
||||
extern crate tokio_core;
|
||||
|
||||
use std::time::Duration;
|
||||
use std::env;
|
||||
use std::io::{self, BufRead, Read, Result};
|
||||
use std::sync::atomic::{AtomicBool, Ordering};
|
||||
use std::io::{self, Read, BufRead, Result};
|
||||
use tokio_core::reactor::Core;
|
||||
use regex::Regex;
|
||||
use env_logger::{Builder, Env};
|
||||
use scoped_threadpool::Pool;
|
||||
use std::time::Duration;
|
||||
|
||||
use env_logger::{Builder, Env};
|
||||
use librespot_audio::{AudioDecrypt, AudioFile};
|
||||
use librespot_core::authentication::Credentials;
|
||||
use librespot_core::config::SessionConfig;
|
||||
use librespot_core::session::Session;
|
||||
use librespot_core::spotify_id::SpotifyId;
|
||||
use librespot_metadata::{Metadata, FileFormat, Track, Artist};
|
||||
use librespot_audio::{AudioDecrypt, AudioFile};
|
||||
use librespot_metadata::{Artist, FileFormat, Metadata, Track};
|
||||
use regex::Regex;
|
||||
use scoped_threadpool::Pool;
|
||||
use tokio_core::reactor::Core;
|
||||
|
||||
fn main() {
|
||||
Builder::from_env(Env::default().default_filter_or("info")).init();
|
||||
|
Loading…
Reference in New Issue
Block a user