Skip to content
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
2 changes: 1 addition & 1 deletion .github/workflows/ci.yml
Original file line number Diff line number Diff line change
Expand Up @@ -225,7 +225,7 @@ jobs:
RUST_LOG: bindgen=warn,bindgen::ir=error,bindgen::codegen=error
with:
command: build
args: --manifest-path input-sys/Cargo.toml --target ${{ matrix.target }} --no-default-features --features update_bindings,libinput_1_11,libinput_1_14,libinput_1_15,libinput_1_19,libinput_1_21,libinput_1_23,libinput_1_26,libinput_1_27,libinput_1_28
args: --manifest-path input-sys/Cargo.toml --target ${{ matrix.target }} --no-default-features --features update_bindings,libinput_1_11,libinput_1_14,libinput_1_15,libinput_1_19,libinput_1_21,libinput_1_23,libinput_1_26,libinput_1_27,libinput_1_28,libinput_1_29
- name: Copy bindings
run: |
for i in input-sys/src/bindings/*.rs
Expand Down
2 changes: 1 addition & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

- **Breaking:** `Device::name`, `Device::output_name`, `Seat::physical_name` and `Seat::logical_name` now return Cow strings due to lossy conversion into UTF8
- **Breaking:** `Device::config_tap_default_drag_lock_enabled` and `Device::config_tap_set_drag_lock_enabled` now use `DragLockState` type rather than `bool`
- Added support for libinput 1.23, 1.26, 1.27, 1.28 features
- Added support for libinput 1.23, 1.26, 1.27, 1.28, 1.29 features

## 0.9.1

Expand Down
1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,6 +41,7 @@ libinput_1_23 = ["input-sys/libinput_1_23", "libinput_1_21"]
libinput_1_26 = ["input-sys/libinput_1_26", "libinput_1_23"]
libinput_1_27 = ["input-sys/libinput_1_27", "libinput_1_26"]
libinput_1_28 = ["input-sys/libinput_1_28", "libinput_1_27"]
libinput_1_29 = ["input-sys/libinput_1_29", "libinput_1_28"]

[workspace]
members = [
Expand Down
1 change: 1 addition & 0 deletions input-sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -41,3 +41,4 @@ libinput_1_23 = []
libinput_1_26 = []
libinput_1_27 = []
libinput_1_28 = []
libinput_1_29 = []
1 change: 1 addition & 0 deletions input-sys/build.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@
use std::{env, path::Path};

const LIB_VERSIONS: &[(u8, u8, u8)] = &[
(1, 29, 0),
(1, 28, 0),
(1, 27, 0),
(1, 26, 0),
Expand Down Expand Up @@ -105,7 +106,7 @@
let bind_file = Path::new(&out_dir).join(&bind_name);
let dest_file = dest_dir.join(&bind_name);

fs::create_dir_all(&dest_dir).unwrap();

Check warning on line 109 in input-sys/build.rs

View workflow job for this annotation

GitHub Actions / clippy

the borrowed expression implements the required traits

warning: the borrowed expression implements the required traits --> input-sys/build.rs:109:32 | 109 | fs::create_dir_all(&dest_dir).unwrap(); | ^^^^^^^^^ help: change this to: `dest_dir` | = help: for further information visit https://rust-lang.github.io/rust-clippy/master/index.html#needless_borrows_for_generic_args = note: `#[warn(clippy::needless_borrows_for_generic_args)]` on by default
fs::copy(&bind_file, &dest_file).unwrap();
}
}
Expand Down
2 changes: 1 addition & 1 deletion input-sys/include/libinput.1.28.0.h
Original file line number Diff line number Diff line change
Expand Up @@ -5775,7 +5775,7 @@ enum libinput_config_accel_type {
enum libinput_config_status
libinput_config_accel_set_points(struct libinput_config_accel *accel_config,
enum libinput_config_accel_type accel_type,
double step, size_t npoints, double *points);
double step, size_t npoints, const double *points);

/**
* @ingroup config
Expand Down
Loading
Loading