mirror of
https://github.com/lifegpc/pixiv_downloader.git
synced 2026-07-08 01:32:41 +08:00
Remove unneeded extern crate
This commit is contained in:
5
build.rs
5
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"))]
|
||||
|
||||
@@ -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;
|
||||
|
||||
28
src/main.rs
28
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;
|
||||
|
||||
Reference in New Issue
Block a user