From 9f5292a5a4702a24d6d3702b658200aa81c8b454 Mon Sep 17 00:00:00 2001 From: Ryan Zoeller Date: Fri, 22 Apr 2022 21:11:19 -0500 Subject: [PATCH] Upgrade nix to 0.24, limit features This removes memoffset as an indirect dependency, and decreases clean build times by a few seconds. --- CHANGELOG.md | 1 + Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) 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"