去除多余依赖
This commit is contained in:
@@ -5,7 +5,6 @@ use bytes::BufMut;
|
|||||||
use packet::ethernet;
|
use packet::ethernet;
|
||||||
use parking_lot::Mutex;
|
use parking_lot::Mutex;
|
||||||
use std::net::Ipv4Addr;
|
use std::net::Ipv4Addr;
|
||||||
use std::os::unix::io::AsRawFd;
|
|
||||||
#[cfg(any(target_os = "linux"))]
|
#[cfg(any(target_os = "linux"))]
|
||||||
use tun::platform::linux::Device;
|
use tun::platform::linux::Device;
|
||||||
#[cfg(any(target_os = "macos"))]
|
#[cfg(any(target_os = "macos"))]
|
||||||
|
|||||||
Reference in New Issue
Block a user