Skip to content

Commit d7250b7

Browse files
authored
Allow a wider version range for nix (up to 0.27) (#135)
Also remove Cargo.lock file, leftover from #127. Fixes #134 Related to #127
1 parent 0b49a0a commit d7250b7

File tree

3 files changed

+5
-143
lines changed

3 files changed

+5
-143
lines changed

.github/workflows/rust.yml

+4
Original file line numberDiff line numberDiff line change
@@ -48,6 +48,10 @@ jobs:
4848
4949
- uses: Swatinem/rust-cache@v2
5050

51+
- name: Set nix to minimum version (0.24)
52+
if: matrix.rust == 'msrv'
53+
run: cargo update -p nix --precise 0.24.0
54+
5155
- name: cargo test
5256
run: cargo test --workspace ${{ matrix.rust-args }}
5357

Cargo.lock

-142
This file was deleted.

Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,4 +27,4 @@ thiserror = "1.0"
2727
default = [ "nix" ]
2828

2929
[target.'cfg(target_os = "linux")'.dependencies]
30-
nix = { version = ">= 0.24, < 0.27", default-features = false, features = ["ioctl"], optional = true }
30+
nix = { version = ">= 0.24, < 0.28", default-features = false, features = ["ioctl"], optional = true }

0 commit comments

Comments
 (0)