Skip to content

Commit

Permalink
upgrade reqwest 0.12, reqwest-middleware 0.3
Browse files Browse the repository at this point in the history
  • Loading branch information
kirinse committed Apr 13, 2024
1 parent bedb8fc commit 03775ab
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 5 deletions.
9 changes: 5 additions & 4 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,10 +14,11 @@ readme = "README.md"
[dependencies]
anyhow = "1.0.66"
async-trait = "0.1.59"
reqwest = { version = "0.11.13", default_features = false }
reqwest-middleware = "0.2.0"
task-local-extensions = "0.1.3"
http = "1.0.0"
reqwest = { version = "0.12", default_features = false }
reqwest-middleware = "0.3"
# task-local-extensions = "0.1.3"

[dev-dependencies]
tokio = { version = "1.23.0", features = ["rt", "macros"] }
wiremock = "0.5.15"
wiremock = "0.6"
2 changes: 1 addition & 1 deletion src/middleware.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ use crate::chainable::{ChainMiddleware, Chainer};
use anyhow::anyhow;
use reqwest::{Request, Response};
use reqwest_middleware::{Error, Middleware, Next, Result};
use task_local_extensions::Extensions;
use http::Extensions;

#[async_trait::async_trait]
impl<T, S> Middleware for ChainMiddleware<T>
Expand Down

0 comments on commit 03775ab

Please sign in to comment.