diff --git a/CHANGELOG.md b/CHANGELOG.md index abbd7e1..e2dfa06 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,8 @@ +## 0.9.1 + +- Update udev to 0.8 +- Drop io-lifetimes dependency and require Rust 1.63 + ## 0.9.0 - Update to bitflags 2.x and udev 0.8 diff --git a/Cargo.toml b/Cargo.toml index 4901b94..366c133 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,15 +4,15 @@ description = "libinput bindings for rust" license = "MIT" documentation = "https://docs.rs/input" repository = "https://github.com/Drakulix/input.rs" -version = "0.9.0" +version = "0.9.1" keywords = ["wayland", "input", "bindings"] categories = ["external-ffi-bindings"] authors = ["Drakulix (Victoria Brekenfeld)"] edition = "2018" exclude = [".gitignore", ".rustfmt.toml", ".github"] +rust-version = "1.63.0" [dependencies] -io-lifetimes = "1.0.3" libc = "0.2" bitflags = "2.4" log = { version = "0.4.20", optional = true } @@ -23,7 +23,7 @@ path = "input-sys" default-features = false [dependencies.udev] -version = "0.8" +version = "0.9" optional = true [dev-dependencies] diff --git a/src/context.rs b/src/context.rs index 38715c2..18aca0a 100644 --- a/src/context.rs +++ b/src/context.rs @@ -2,12 +2,11 @@ #![allow(clippy::result_unit_err)] use crate::{ffi, AsRaw, Device, Event, FromRaw}; -use io_lifetimes::{AsFd, BorrowedFd, OwnedFd}; use std::{ ffi::{CStr, CString}, io::{Error as IoError, Result as IoResult}, iter::Iterator, - os::unix::io::{AsRawFd, FromRawFd, IntoRawFd, RawFd}, + os::unix::io::{AsFd, AsRawFd, BorrowedFd, FromRawFd, IntoRawFd, OwnedFd, RawFd}, path::Path, rc::Rc, };