Skip to content

Commit f0dcda3

Browse files
authored
deps: allow socket2 0.6 (#213)
1 parent dd63305 commit f0dcda3

File tree

2 files changed

+5
-9
lines changed

2 files changed

+5
-9
lines changed

.github/workflows/CI.yml

Lines changed: 4 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -65,14 +65,10 @@ jobs:
6565
steps:
6666
- uses: actions/checkout@v4
6767
- uses: dtolnay/rust-toolchain@stable
68-
- name: Pin some dependencies for MSRV
69-
run: |
70-
cargo update
71-
cargo update --package tokio --precise 1.38.1
72-
cargo update --package tokio-util --precise 0.7.11
73-
cargo update --package hashbrown --precise 0.15.0
74-
cargo update --package once_cell --precise 1.20.3
75-
cargo update --package tracing-core --precise 0.1.33
68+
- name: Resolve MSRV aware dependencies
69+
run: cargo update
70+
env:
71+
CARGO_RESOLVER_INCOMPATIBLE_RUST_VERSIONS: fallback
7672
- name: Install Rust (${{ matrix.rust }})
7773
uses: dtolnay/rust-toolchain@master
7874
with:

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ ipnet = { version = "2.9", optional = true }
3030
libc = { version = "0.2", optional = true }
3131
percent-encoding = { version = "2.3", optional = true }
3232
pin-project-lite = "0.2.4"
33-
socket2 = { version = "0.5.9", optional = true, features = ["all"] }
33+
socket2 = { version = ">=0.5.9, <0.7", optional = true, features = ["all"] }
3434
tracing = { version = "0.1", default-features = false, features = ["std"], optional = true }
3535
tokio = { version = "1", optional = true, default-features = false }
3636
tower-service = { version = "0.3", optional = true }

0 commit comments

Comments
 (0)