diff --git a/.github/workflows/test.yml b/.github/workflows/test.yml index 9fef0d8a..df12cab3 100644 --- a/.github/workflows/test.yml +++ b/.github/workflows/test.yml @@ -90,7 +90,7 @@ jobs: # (pushd tools && curl -L https://github.com/summerwind/h2spec/releases/download/v2.6.0/h2spec_linux_amd64.tar.gz | tar -xz && popd) # Uses https://github.com/summerwind/h2spec/pull/123, more precisely # https://github.com/fasterthanlime/h2spec/commit/72a6b9b2b01133d292bd74e019fde86c3638094a - (pushd tools && curl -L http://misc.fasterthanli.me.s3.amazonaws.com/h2spec -o h2spec && chmod +x h2spec && popd) + (pushd tools && curl -fL https://github.com/hapsoc/h2spec-binaries/releases/download/72a6b9b/h2spec -o h2spec && chmod +x h2spec && popd) just ci-test sccache --show-stats - name: Upload h2spec Report diff --git a/crates/hring-bingo-ktls/Cargo.toml b/crates/hring-bingo-ktls/Cargo.toml index f6dde171..e9a9f852 100644 --- a/crates/hring-bingo-ktls/Cargo.toml +++ b/crates/hring-bingo-ktls/Cargo.toml @@ -9,13 +9,13 @@ hring = { path = "../hring" } rcgen = "0.10.0" tracing = "0.1.37" tracing-subscriber = { version = "0.3.17", features = ["env-filter"] } -rustls = { version = "0.21.1", features = ["secret_extraction"] } +rustls = { version = "0.20.9", features = ["secret_extraction"] } tokio = { version = "1.28.2", features = ["full"] } -tokio-rustls = "0.24.1" +tokio-rustls = "0.23.4" http = "0.2.9" pretty-hex = "0.3.0" maybe-uring = { version = "0.1.0", path = "../maybe-uring" } socket2 = "0.5.3" [target.'cfg(target_os = "linux")'.dependencies] -ktls = "3.0.0" +ktls = "2.0.0" diff --git a/crates/hring-h2spec/src/main.rs b/crates/hring-h2spec/src/main.rs index 7c0e1198..9f8f4941 100644 --- a/crates/hring-h2spec/src/main.rs +++ b/crates/hring-h2spec/src/main.rs @@ -71,7 +71,7 @@ struct TestBody { } impl TestBody { - const CONTENTS: &str = "I am a test body"; + const CONTENTS: &'static str = "I am a test body"; } impl Body for TestBody { diff --git a/crates/hring-hpack/src/huffman.rs b/crates/hring-hpack/src/huffman.rs index 02f07d4c..10ceff75 100644 --- a/crates/hring-hpack/src/huffman.rs +++ b/crates/hring-hpack/src/huffman.rs @@ -63,7 +63,7 @@ impl HuffmanDecoder { for (symbol, &(code, code_len)) in table.iter().enumerate() { decoder_table .entry(code_len) - .or_insert_with(Default::default); + .or_default(); let subtable = decoder_table.get_mut(&code_len).unwrap(); let huff_symbol = HuffmanCodeSymbol::new(symbol); if let HuffmanCodeSymbol::EndOfString = huff_symbol { diff --git a/rust-toolchain.toml b/rust-toolchain.toml index 817ffbb3..8059205a 100644 --- a/rust-toolchain.toml +++ b/rust-toolchain.toml @@ -1,3 +1,3 @@ [toolchain] -channel = "nightly-2023-06-14" -components = ["llvm-tools-preview"] \ No newline at end of file +channel = "nightly-2023-09-13" +components = ["llvm-tools-preview"]