Merge branch 'next' into next-polkadot-sdk

This commit is contained in:
Luke Parker
2025-11-04 10:30:45 -05:00
122 changed files with 1310 additions and 1146 deletions

View File

@@ -1,6 +1,6 @@
[package]
name = "simple-request"
version = "0.1.99"
version = "0.2.99"
description = "simple-request which patches to the latest update"
license = "MIT"
repository = "https://github.com/serai-dex/serai/tree/develop/patches/simple-request"
@@ -13,11 +13,11 @@ rust-version = "1.65"
all-features = true
rustdoc-args = ["--cfg", "docsrs"]
[lints]
workspace = true
[workspace]
[dependencies]
simple-request = { path = "../../common/request" }
hyper-util = { version = "0.1", default-features = false, features = ["tokio"] }
simple-request = { path = "../../common/request", features = ["tokio"] }
[features]
tls = ["simple-request/tls"]

View File

@@ -1,7 +1,10 @@
pub use simple_request::{hyper, Error, Request, Response};
use hyper_util::rt::tokio::TokioExecutor;
pub use simple_request::{hyper, Error, Request};
#[derive(Clone, Debug)]
pub struct Client(simple_request::Client);
pub struct Client(simple_request::Client<TokioExecutor>);
pub type Response<'a> = simple_request::Response<'a, TokioExecutor>;
impl Client {
pub fn with_connection_pool() -> Client {