Skip to content

Commit 8fcf64c

Browse files
authored
Merge pull request #2091 from Kobzol/benchmark-update-2025-hyper
Update `hyper` to 1.6.0
2 parents b31069b + ff6d6cb commit 8fcf64c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

70 files changed

+22201
-0
lines changed

collector/compile-benchmarks/README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -34,6 +34,8 @@ They mostly consist of real-world crates.
3434
- **hyper-0.14.18**: A fairly large crate. Utilizes async/await, and used by
3535
many Rust programs. The crate uses cargo features to enable large portions of its
3636
structure and is built with `--features=client,http1,http2,server,stream`.
37+
- **hyper-1.6.0**: Utilizes async/await, and is used by
38+
many Rust programs. The crate uses cargo features to enable large portions of its structure and is built with `--features=full`.
3739
- **image-0.24.1**: Basic image processing functions and methods for
3840
converting to and from various image formats. Used often in graphics
3941
programming.

collector/compile-benchmarks/REUSE.toml

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -135,6 +135,11 @@ path = "hyper-0.14.18/**"
135135
SPDX-FileCopyrightText = "hyper contributors"
136136
SPDX-License-Identifier = "MIT"
137137

138+
[[annotations]]
139+
path = "hyper-1.6.0/**"
140+
SPDX-FileCopyrightText = "hyper contributors"
141+
SPDX-License-Identifier = "MIT"
142+
138143
[[annotations]]
139144
path = "image-0.24.1/**"
140145
SPDX-FileCopyrightText = "The image-rs Developers"
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
{
2+
"git": {
3+
"sha1": "621d8e4d7788bfd2d62d15d40a73efae7f9a0bf0"
4+
},
5+
"path_in_vcs": ""
6+
}
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
diff --git a/src/body/incoming.rs b/src/body/incoming.rs
2+
index dcfb71d5..7980cf6f 100644
3+
--- a/src/body/incoming.rs
4+
+++ b/src/body/incoming.rs
5+
@@ -111,6 +111,7 @@ impl Incoming {
6+
7+
#[cfg(all(feature = "http1", any(feature = "client", feature = "server")))]
8+
pub(crate) fn new_channel(content_length: DecodedLength, wanter: bool) -> (Sender, Incoming) {
9+
+ println!("testing");
10+
let (data_tx, data_rx) = mpsc::channel(0);
11+
let (trailers_tx, trailers_rx) = oneshot::channel();
12+

0 commit comments

Comments
 (0)