Skip to content

Commit edae921

Browse files
renovate[bot]nebasukeWodann
authored
fix(deps): update reqwest (#1477)
Co-authored-by: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com> Co-authored-by: Bas van Gijzel <bas@nomic.foundation> Co-authored-by: Wodann <Wodann@users.noreply.github.com>
1 parent b59337e commit edae921

14 files changed

Lines changed: 187 additions & 506 deletions

File tree

Cargo.lock

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

Cargo.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -417,6 +417,7 @@ inefficient_to_string = "warn"
417417
invalid_upcast_comparisons = "warn"
418418
items-after-statements = "warn"
419419
large_digit_groups = "warn"
420+
large_futures = "warn"
420421
large_stack_arrays = "warn"
421422
large_types_passed_by_value = "warn"
422423
let_unit_value = "warn"

crates/blockchain/fork/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// The deeply nested async futures in this crate exceed the default
2+
// layout-computation recursion limit of 128.
3+
#![recursion_limit = "256"]
4+
15
/// Types and constants for Ethereum improvements proposals (EIPs)
26
pub mod eips;
37

crates/blockchain/fork/tests/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
//!
44
//! Inspired by [this blogpost](https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html).
55
6+
// Integration test binaries are separate crate roots, so the crate's lib-level
7+
// recursion_limit doesn't carry over. The deeply nested async futures exercised
8+
// here exceed the default layout-computation recursion limit of 128.
9+
#![recursion_limit = "256"]
10+
611
pub mod common;
712
mod integration;

crates/edr_generic/tests/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,5 +3,10 @@
33
//!
44
//! Inspired by [this blogpost](https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html).
55
6+
// Integration test binaries are separate crate roots, so the crate's lib-level
7+
// recursion_limit doesn't carry over. The deeply nested async futures exercised
8+
// here exceed the default layout-computation recursion limit of 128.
9+
#![recursion_limit = "256"]
10+
611
/// Common types and functions for integration tests
712
mod integration;

crates/edr_op/tests/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,9 @@
33
//!
44
//! Inspired by [this blogpost](https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html).
55
6+
// Integration test binaries are separate crate roots, so the crate's lib-level
7+
// recursion_limit doesn't carry over. The deeply nested async futures exercised
8+
// here exceed the default layout-computation recursion limit of 128.
9+
#![recursion_limit = "256"]
10+
611
mod integration;

crates/edr_provider/src/lib.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,7 @@
1+
// The deeply nested async futures in this crate exceed the default
2+
// layout-computation recursion limit of 128.
3+
#![recursion_limit = "256"]
4+
15
/// Types for configuring the provider.
26
pub mod config;
37
mod console_log;

crates/edr_provider/tests/main.rs

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,11 @@
33
//!
44
//! Inspired by [this blogpost](https://matklad.github.io/2021/02/27/delete-cargo-integration-tests.html).
55
6+
// Integration test binaries are separate crate roots, so the crate's lib-level
7+
// recursion_limit doesn't carry over. The deeply nested async futures exercised
8+
// here exceed the default layout-computation recursion limit of 128.
9+
#![recursion_limit = "256"]
10+
611
/// Common types and functions for integration tests
712
pub mod common;
813
mod integration;

crates/edr_rpc_client/Cargo.toml

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -9,14 +9,14 @@ edr_eth = { workspace = true, features = ["serde"] }
99
edr_primitives.workspace = true
1010
futures = { version = "0.3.28", default-features = false, features = ["std"] }
1111
hex = { version = "0.4.3", default-features = false, features = ["alloc"] }
12-
hyper = { version = "0.14.27", default-features = false }
12+
http = { version = "1", default-features = false }
1313
lazy_static = { version = "1.4.0", default-features = false }
1414
log = { version = "0.4.17", default-features = false }
1515
regex.workspace = true
16-
reqwest = { version = "0.11", features = ["blocking", "json"] }
17-
reqwest-middleware = { version = "0.2.4", default-features = false }
18-
reqwest-retry = { version = "0.3.0", default-features = false }
19-
reqwest-tracing = { version = "0.4.7", default-features = false, optional = true }
16+
reqwest = { version = "0.13", features = ["blocking", "json"] }
17+
reqwest-middleware = { version = "0.5.0", default-features = false }
18+
reqwest-retry = { version = "0.9.0", default-features = false }
19+
reqwest-tracing = { version = "0.7.0", default-features = false, optional = true }
2020
serde.workspace = true
2121
serde_json.workspace = true
2222
sha3.workspace = true

crates/edr_rpc_client/src/client.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -10,8 +10,8 @@ use std::{
1010
use edr_eth::block::{block_time, is_safe_block_number, IsSafeBlockNumberArgs};
1111
use edr_primitives::U64;
1212
use futures::{future, TryFutureExt};
13-
use hyper::header::HeaderValue;
14-
pub use hyper::{header, HeaderMap};
13+
use http::header::HeaderValue;
14+
pub use http::{header, HeaderMap};
1515
use reqwest::Client as HttpClient;
1616
use reqwest_middleware::{ClientBuilder as HttpClientBuilder, ClientWithMiddleware};
1717
use reqwest_retry::{policies::ExponentialBackoff, RetryTransientMiddleware};
@@ -846,7 +846,7 @@ mod tests {
846846
use edr_primitives::U64;
847847
use edr_test_utils::env::json_rpc_url_provider;
848848
use futures::future::join_all;
849-
use hyper::StatusCode;
849+
use http::StatusCode;
850850
use tempfile::TempDir;
851851
use walkdir::WalkDir;
852852

0 commit comments

Comments
 (0)