Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
175 changes: 136 additions & 39 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

14 changes: 2 additions & 12 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,16 +9,6 @@ members = [
resolver = "2"

[workspace.dependencies]
uniffi = "0.27.0"
http = "1.1"
thiserror = "1.0"
# We need to match the version used in `reqwest`: https://github.com/seanmonstar/reqwest/blob/master/Cargo.toml#L84
# So that we can implement our own traits and it'll work with both reqwest types as well as http types
#
# For example, reqwest re-exports `http::StatusCode` as `reqwest::StatusCode` and as long as
# we use the same version, we'll be able to implement our trait for `http::StatusCode` and it'll
# work for `reqwest::StatusCode` as well.
# https://github.com/seanmonstar/reqwest/blob/master/src/lib.rs#L252
#
# Note that there is a WIP PR that'll update the version used in `reqwest` to `1.0.0`:
# https://github.com/seanmonstar/reqwest/pull/2059
http = "0.2"
uniffi = "0.27.0"
2 changes: 1 addition & 1 deletion wp_networking/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ edition = "2021"

[dependencies]
http = { workspace = true }
reqwest = { version = "0.11.22", features = ["blocking"] }
reqwest = { version = "0.12", features = ["blocking"] }
wp_api = { path = "../wp_api" }