mirror of
https://github.com/shadowsocks/shadowsocks-rust.git
synced 2026-02-09 01:59:16 +08:00
Remove extern crate statements (#143)
This commit is contained in:
committed by
Y. T. CHUNG
parent
7bb73f7828
commit
3d25b71a20
@@ -1,11 +1,3 @@
|
||||
extern crate dns_parser;
|
||||
extern crate env_logger;
|
||||
extern crate rand;
|
||||
extern crate shadowsocks;
|
||||
extern crate tokio;
|
||||
#[macro_use]
|
||||
extern crate log;
|
||||
|
||||
use std::{
|
||||
collections::HashSet,
|
||||
net::{SocketAddr, UdpSocket},
|
||||
@@ -14,6 +6,7 @@ use std::{
|
||||
};
|
||||
|
||||
use dns_parser::{Builder, Packet, QueryClass, QueryType};
|
||||
use log::trace;
|
||||
use shadowsocks::{
|
||||
config::{Config, ConfigType},
|
||||
run_dns,
|
||||
|
||||
@@ -1,10 +1,3 @@
|
||||
extern crate env_logger;
|
||||
extern crate futures;
|
||||
extern crate log;
|
||||
extern crate shadowsocks;
|
||||
extern crate tokio;
|
||||
extern crate tokio_io;
|
||||
|
||||
use std::{
|
||||
net::{SocketAddr, ToSocketAddrs},
|
||||
thread,
|
||||
|
||||
@@ -1,12 +1,5 @@
|
||||
#![cfg_attr(clippy, allow(blacklisted_name))]
|
||||
|
||||
extern crate bytes;
|
||||
extern crate env_logger;
|
||||
extern crate futures;
|
||||
extern crate shadowsocks;
|
||||
extern crate tokio;
|
||||
extern crate tokio_io;
|
||||
|
||||
use std::{
|
||||
io::Cursor,
|
||||
net::SocketAddr,
|
||||
|
||||
Reference in New Issue
Block a user