Skip to content

Commit 8ba6c59

Browse files
committed
fix: fix msrv on windows and macos target
1 parent 3c8dbe4 commit 8ba6c59

File tree

2 files changed

+7
-3
lines changed

2 files changed

+7
-3
lines changed

.github/workflows/CI.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -61,7 +61,11 @@ jobs:
6161
strategy:
6262
matrix:
6363
rust: [ 1.63 ] # keep in sync with 'rust-version' in Cargo.toml
64-
runs-on: ubuntu-latest
64+
os:
65+
- ubuntu-latest
66+
- windows-latest
67+
- macos-latest
68+
runs-on: ${{ matrix.os }}
6569
steps:
6670
- uses: actions/checkout@v4
6771
- uses: dtolnay/rust-toolchain@stable

Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -48,10 +48,10 @@ pretty_env_logger = "0.5"
4848
pnet_datalink = "0.35.0"
4949

5050
[target.'cfg(target_os = "macos")'.dependencies]
51-
system-configuration = { version = "0.6.1", optional = true }
51+
system-configuration = { version = ">=0.5, <0.7", optional = true }
5252

5353
[target.'cfg(windows)'.dependencies]
54-
windows-registry = { version = "0.6", optional = true }
54+
windows-registry = { version = ">=0.3, <0.7", optional = true }
5555

5656
[features]
5757
default = []

0 commit comments

Comments
 (0)