diff --git a/build.rs b/build.rs index f49541f..9946336 100644 --- a/build.rs +++ b/build.rs @@ -1,8 +1,3 @@ -#[cfg(feature = "bindgen")] -extern crate bindgen; -#[cfg(feature = "cmake")] -extern crate cmake; - #[cfg(any(feature = "avdict", feature = "exif", feature = "ugoira"))] use std::env; #[cfg(any(feature = "avdict", feature = "exif", feature = "ugoira"))] diff --git a/proc_macros/proc_macros.rs b/proc_macros/proc_macros.rs index 4e070b7..4839244 100644 --- a/proc_macros/proc_macros.rs +++ b/proc_macros/proc_macros.rs @@ -1,7 +1,3 @@ -extern crate parse_duration; -extern crate quote; -extern crate syn; - use proc_macro::TokenStream; use quote::quote; use syn::parse_macro_input; diff --git a/src/main.rs b/src/main.rs index 645e1ce..7cd8707 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,33 +1,5 @@ -extern crate atty; -#[cfg(feature = "c_fixed_string")] -extern crate c_fixed_string; -extern crate chrono; -extern crate dateparser; -extern crate derive_more; -#[cfg(feature = "flagset")] -extern crate flagset; -extern crate futures_util; -extern crate http; -extern crate http_content_range; -extern crate indicatif; -extern crate int_enum; -extern crate itertools; -extern crate json; #[macro_use] extern crate lazy_static; -#[cfg(all(feature = "link-cplusplus", target_env = "gnu"))] -extern crate link_cplusplus; -extern crate modular_bitfield; -extern crate parse_size; -extern crate proc_macros; -extern crate regex; -extern crate reqwest; -extern crate tokio; -extern crate url; -extern crate urlparse; -#[cfg(feature = "utf16string")] -extern crate utf16string; -extern crate xml; #[cfg(feature = "avdict")] mod _avdict;