Skip to content

Commit

Permalink
upgrade reqwest and rocket
Browse files Browse the repository at this point in the history
  • Loading branch information
Sagebati authored and jpopesculian committed Mar 29, 2024
1 parent 8994d5c commit 9c590a8
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -15,7 +15,7 @@ categories = ["web-programming::http-client", "no-std", "parsing", "asynchronous

[dependencies]
eventsource-stream = "0.2.3"
reqwest = { version = "0.11", default-features = false, features = ["stream"] }
reqwest = { version = "0.12.0", default-features = false, features = ["stream"] }
futures-core = "0.3.5"
pin-project-lite = "0.2.8"
nom = "7.1.0"
Expand All @@ -28,4 +28,4 @@ futures = "0.3.5"
tokio = { version = "1", features = ["macros", "rt-multi-thread"] }
futures-retry = "0.6"
pin-utils = "0.1"
rocket = "0.5.0-rc.3"
rocket = "0.5.0"
2 changes: 1 addition & 1 deletion examples/server.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ impl<'r> rocket::request::FromRequest<'r> for LastEventId {
} else {
match id.parse() {
Ok(id) => Outcome::Success(LastEventId(id)),
Err(err) => Outcome::Failure((Status::BadRequest, err)),
Err(err) => Outcome::Error((Status::BadRequest, err)),
}
}
} else {
Expand Down

0 comments on commit 9c590a8

Please sign in to comment.