1
0
mirror of https://github.com/pisto/oggify synced 2024-11-24 17:27:29 +00:00

cleanup imports

This commit is contained in:
Lorenzo Pistone 2019-02-14 12:16:43 +01:00
parent 5724254526
commit 1e60b6e9cc
2 changed files with 16 additions and 17 deletions

View File

@ -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"

View File

@ -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();