remove extern crate
This commit is contained in:
15
src/lib.rs
15
src/lib.rs
@@ -91,21 +91,6 @@
|
||||
//! we first check if the user has set a `; charset=<whatwg charset>` and attempt
|
||||
//! to encode the request body using that.
|
||||
//!
|
||||
extern crate ascii;
|
||||
extern crate base64;
|
||||
extern crate chunked_transfer;
|
||||
extern crate cookie;
|
||||
#[macro_use]
|
||||
extern crate lazy_static;
|
||||
extern crate qstring;
|
||||
extern crate url;
|
||||
|
||||
#[cfg(feature = "charset")]
|
||||
extern crate encoding;
|
||||
#[cfg(feature = "tls")]
|
||||
extern crate native_tls;
|
||||
#[cfg(feature = "json")]
|
||||
extern crate serde_json;
|
||||
|
||||
mod agent;
|
||||
mod body;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
use qstring::QString;
|
||||
use std::io::Read;
|
||||
use std::sync::Arc;
|
||||
use lazy_static::lazy_static;
|
||||
|
||||
#[cfg(feature = "json")]
|
||||
use super::SerdeValue;
|
||||
|
||||
@@ -1,6 +1,7 @@
|
||||
use crate::agent::Unit;
|
||||
use crate::error::Error;
|
||||
use crate::stream::Stream;
|
||||
use lazy_static::lazy_static;
|
||||
use std::collections::HashMap;
|
||||
use std::io::{Cursor, Write};
|
||||
use std::sync::{Arc, Mutex};
|
||||
|
||||
Reference in New Issue
Block a user