File tree Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Expand file tree Collapse file tree 2 files changed +12
-5
lines changed Original file line number Diff line number Diff line change @@ -56,17 +56,24 @@ jobs:
5656 - run : cargo test --all-features
5757
5858 msrv :
59- name : Check MSRV (${{ matrix.rust }})
59+ name : Check MSRV (${{ matrix.rust }}) on ${{ matrix.os }}
6060 needs : [style]
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
72+ - uses : Swatinem/rust-cache@v2
6873 - name : Resolve MSRV aware dependencies
69- run : cargo update
74+ run : |
75+ cargo update
76+ cargo update system-configuration --precise 0.5.0
7077 env :
7178 CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS : fallback
7279 - name : Install Rust (${{ matrix.rust }})
Original file line number Diff line number Diff line change @@ -48,10 +48,10 @@ pretty_env_logger = "0.5"
4848pnet_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 ]
5757default = []
You can’t perform that action at this time.
0 commit comments