From 372feeaf5a1a871a173b1a0654d46994c336fccf Mon Sep 17 00:00:00 2001 From: cssivision Date: Sat, 2 Sep 2017 20:39:02 +0800 Subject: [PATCH] remove not used dependency --- Cargo.lock | 2 +- src/bin/main.rs | 2 -- src/errors.rs | 1 - src/lib.rs | 2 -- 4 files changed, 1 insertion(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 3a494f4..de9db1f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1,6 +1,6 @@ [root] name = "ytdl" -version = "0.1.4" +version = "0.1.5" dependencies = [ "clap 2.25.1 (registry+https://github.com/rust-lang/crates.io-index)", "clippy 0.0.144 (registry+https://github.com/rust-lang/crates.io-index)", diff --git a/src/bin/main.rs b/src/bin/main.rs index d475b80..fb668e5 100644 --- a/src/bin/main.rs +++ b/src/bin/main.rs @@ -3,14 +3,12 @@ extern crate clap; extern crate env_logger; -extern crate env_variables; #[macro_use] extern crate log; extern crate openssl_probe; extern crate pbr; extern crate reqwest; extern crate serde_json; -extern crate url; extern crate ytdl; use clap::{App, AppSettings, Arg}; diff --git a/src/errors.rs b/src/errors.rs index ea8afcf..cdfae86 100644 --- a/src/errors.rs +++ b/src/errors.rs @@ -3,7 +3,6 @@ use std::io; use url; use reqwest as request; - error_chain! { foreign_links { Utf8Error(str::Utf8Error); diff --git a/src/lib.rs b/src/lib.rs index 8a1540f..066c9d8 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -7,10 +7,8 @@ extern crate lazy_static; #[macro_use] extern crate log; extern crate reqwest; -extern crate serde; #[macro_use] extern crate serde_derive; -extern crate serde_json; extern crate url; pub mod video_info;