Skip to content

Commit

Permalink
Allow a wider version range for nix (up to 0.27) (#135)
Browse files Browse the repository at this point in the history
Also remove Cargo.lock file, leftover from #127.

Fixes #134
Related to #127
  • Loading branch information
cecton authored Feb 12, 2024
1 parent 0b49a0a commit d7250b7
Show file tree
Hide file tree
Showing 3 changed files with 5 additions and 143 deletions.
4 changes: 4 additions & 0 deletions .github/workflows/rust.yml
Original file line number Diff line number Diff line change
Expand Up @@ -48,6 +48,10 @@ jobs:
- uses: Swatinem/rust-cache@v2

- name: Set nix to minimum version (0.24)
if: matrix.rust == 'msrv'
run: cargo update -p nix --precise 0.24.0

- name: cargo test
run: cargo test --workspace ${{ matrix.rust-args }}

Expand Down
142 changes: 0 additions & 142 deletions Cargo.lock

This file was deleted.

2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ thiserror = "1.0"
default = [ "nix" ]

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

0 comments on commit d7250b7

Please sign in to comment.