Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
13 changes: 10 additions & 3 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -56,17 +56,24 @@ jobs:
- run: cargo test --all-features

msrv:
name: Check MSRV (${{ matrix.rust }})
name: Check MSRV (${{ matrix.rust }}) on ${{ matrix.os }}
needs: [style]
strategy:
matrix:
rust: [ 1.63 ] # keep in sync with 'rust-version' in Cargo.toml
runs-on: ubuntu-latest
os:
- ubuntu-latest
- windows-latest
- macos-latest
runs-on: ${{ matrix.os }}
steps:
- uses: actions/checkout@v4
- uses: dtolnay/rust-toolchain@stable
- uses: Swatinem/rust-cache@v2
- name: Resolve MSRV aware dependencies
run: cargo update
run: |
cargo update
cargo update system-configuration --precise 0.5.0
env:
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback
- name: Install Rust (${{ matrix.rust }})
Expand Down
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -48,10 +48,10 @@ pretty_env_logger = "0.5"
pnet_datalink = "0.35.0"

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

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

[features]
default = []
Expand Down
Loading