Skip to content

Commit 817a1b5

Browse files
perf: implement more efficient timeouts and MSRV to 1.83
1 parent a380d08 commit 817a1b5

File tree

11 files changed

+586
-251
lines changed

11 files changed

+586
-251
lines changed

.github/workflows/rust.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ jobs:
8181
# # Workaround for https://github.com/quinn-rs/quinn/issues/2218
8282
# export CARGO_HTTP_MULTIPLEXING=false
8383
# cargo build --locked --all-targets && cargo test --locked --manifest-path fuzz/Cargo.toml && cargo test --locked -p quinn-udp --benches
84-
#
84+
#
8585
# test-illumos:
8686
# name: test on illumos
8787
# runs-on: ubuntu-latest
@@ -187,7 +187,7 @@ jobs:
187187
- uses: actions/checkout@v5
188188
- uses: mozilla-actions/sccache-action@v0.0.9
189189
# Note that we must also update the README when changing the MSRV
190-
- uses: dtolnay/rust-toolchain@1.74.1
190+
- uses: dtolnay/rust-toolchain@1.83
191191
- uses: Swatinem/rust-cache@v2
192192
- run: cargo check --locked --lib --all-features -p iroh-quinn-udp -p iroh-quinn-proto -p iroh-quinn
193193

Cargo.lock

Lines changed: 10 additions & 3 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ default-members = ["quinn", "quinn-proto", "quinn-udp", "bench", "perf"]
44
resolver = "2"
55

66
[workspace.package]
7-
rust-version = "1.74.1"
7+
rust-version = "1.83"
88
edition = "2021"
99
license = "MIT OR Apache-2.0"
1010
repository = "https://github.com/quinn-rs/quinn"
@@ -27,6 +27,7 @@ futures-io = "0.3.19"
2727
getrandom = { version = "0.3", default-features = false }
2828
hdrhistogram = { version = "7.2", default-features = false }
2929
hex-literal = "1"
30+
identity-hash = "0.1.0"
3031
lru-slab = "0.1.2"
3132
lazy_static = "1"
3233
log = "0.4.22"

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ Quinn is a pure-rust, async-compatible implementation of the IETF
1010
[rustls][rustls] and [*ring*][ring]
1111
- Application-layer datagrams for small, unreliable messages
1212
- Future-based async API
13-
- Minimum supported Rust version of 1.74.1
13+
- Minimum supported Rust version of 1.83
1414

1515
This is a fork incorporating some changes for use in iroh. The aim is
1616
to contribute back any generally useful changes into upstream Quinn,

quinn-proto/Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -52,6 +52,7 @@ slab = { workspace = true }
5252
thiserror = { workspace = true }
5353
tinyvec = { workspace = true, features = ["alloc"] }
5454
tracing = { workspace = true }
55+
identity-hash = { workspace = true }
5556

5657
# Feature flags & dependencies for wasm
5758
# wasm-bindgen is assumed for a wasm*-*-unknown target

0 commit comments

Comments
 (0)