Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

V0.9.1, depending on udev 0.9.0 #74

Merged
merged 3 commits into from
Sep 25, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -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
Expand Down
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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 }
Expand All @@ -23,7 +23,7 @@ path = "input-sys"
default-features = false

[dependencies.udev]
version = "0.8"
version = "0.9"
optional = true

[dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions src/context.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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,
};
Expand Down
Loading