Skip to content

Commit 7e31c8d

Browse files
committed
Update nix to allow only 0.23 since 0.22 is marked vulnerable:
https://rustsec.org/advisories/RUSTSEC-2021-0119.html
1 parent 995f9c3 commit 7e31c8d

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

CHANGELOG.md

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ 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`.
11+
- Updated nix to version `0.23`.
1212
- Add PEC support for SMBus compatible adapters
1313
- Add `LinuxI2CDevice::force_new()` to open the device without checking if the address is bound to a driver.
1414

@@ -24,4 +24,3 @@ The changelog for previous versions was not recorded.
2424

2525
[Unreleased]: https://github.com/rust-embedded/rust-i2cdev/compare/0.5.0...HEAD
2626
[v0.5.0]: https://github.com/rust-embedded/rust-i2cdev/compare/0.4.0...0.5.0
27-

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ Provides API for safe access to Linux i2c device interface.
1818
libc = "0.2"
1919
bitflags = "1.3"
2020
byteorder = "1"
21-
nix = ">= 0.22, < 0.24"
21+
nix = "0.23"
2222

2323
[dev-dependencies]
2424
docopt = "1"

0 commit comments

Comments
 (0)