Skip to content

Commit 2e0b40b

Browse files
bors[bot]m-ou-se
andauthored
Merge #65
65: Allow nix 0.23. r=eldruin a=m-ou-se This crate compiles fine with nix 0.23 too. This change allows both nix 0.22 and 0.23 as dependency. Co-authored-by: Mara Bos <[email protected]>
2 parents bd58cf1 + ef1e357 commit 2e0b40b

File tree

2 files changed

+3
-1
lines changed

2 files changed

+3
-1
lines changed

CHANGELOG.md

+2
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ Versioning](https://semver.org/spec/v2.0.0.html).
88

99
## [Unreleased]
1010

11+
- Updated nix to allow both version `0.22` or `0.23`.
12+
1113
## [v0.5.0] - 2021-09-21
1214

1315
- Update Tokio to 1.x. [#55](https://github.com/rust-embedded/gpio-cdev/pull/55).

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ required-features = ["async-tokio"]
2222
[dependencies]
2323
bitflags = "1.3"
2424
libc = "0.2"
25-
nix = "0.22"
25+
nix = ">= 0.22, < 0.24"
2626
tokio = { version = "1", features = ["io-std", "net"], optional = true }
2727
futures = { version = "0.3", optional = true }
2828

0 commit comments

Comments
 (0)