diff --git a/CHANGELOG.md b/CHANGELOG.md index a6a363cd..8d1fb626 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,7 @@ Versioning](https://semver.org/spec/v2.0.0.html). ## [Unreleased] +- Updated nix to version `0.24`; only use the `ioctl` feature. ## [v0.5.1] - 2021-11-22 diff --git a/Cargo.toml b/Cargo.toml index 0a1f792e..22d291a4 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -18,7 +18,7 @@ Provides API for safe access to Linux i2c device interface. libc = "0.2" bitflags = "1.3" byteorder = "1" -nix = "0.23" +nix = { version = "0.24", default-features = false, features = ["ioctl"] } [dev-dependencies] docopt = "1"