diff --git a/Cargo.toml b/Cargo.toml index 1687711..b7d34b2 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -11,7 +11,6 @@ keywords = ["udev", "hardware", "bindings", "sysfs"] readme = "README.md" [dependencies] -io-lifetimes = "1.0.3" libudev-sys = "0.1.4" libc = "0.2" mio06 = { package = "mio", version = "^0.6.21", optional = true } diff --git a/src/lib.rs b/src/lib.rs index b92dd99..b8229e4 100644 --- a/src/lib.rs +++ b/src/lib.rs @@ -4,7 +4,6 @@ #![warn(missing_docs)] -extern crate io_lifetimes; extern crate libc; pub extern crate libudev_sys as ffi; #[cfg(feature = "mio06")] diff --git a/src/monitor.rs b/src/monitor.rs index dd6513f..18cb8b3 100644 --- a/src/monitor.rs +++ b/src/monitor.rs @@ -1,4 +1,5 @@ use std::fmt; +use std::os::fd::{AsFd, BorrowedFd}; use std::ptr; use std::ffi::OsStr; @@ -6,7 +7,6 @@ use std::io::Result; use std::ops::Deref; use std::os::unix::io::{AsRawFd, RawFd}; -use io_lifetimes::{AsFd, BorrowedFd}; #[cfg(feature = "mio06")] use mio06::{event::Evented, unix::EventedFd, Poll, PollOpt, Ready, Token}; #[cfg(feature = "mio07")]