Skip to content

Commit

Permalink
Upgrade nix to 0.24, limit features
Browse files Browse the repository at this point in the history
This removes memoffset as an indirect dependency, and decreases clean build times by a few seconds.
  • Loading branch information
rtzoeller committed Apr 24, 2022
1 parent 7818032 commit 9f5292a
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"

0 comments on commit 9f5292a

Please sign in to comment.