Skip to content

Commit

Permalink
Update http crate to 1.0 (#407)
Browse files Browse the repository at this point in the history
* chore(deps): bump http to 1.0 on gloo-net

* chore(config): update to rust version 1.67

* chore: git workflow updated to rust 1.67

* Revert "chore: git workflow updated to rust 1.67"

This reverts commit 90bb8e6.

* Revert "chore(config): update to rust version 1.67"

This reverts commit 1fa770e.

* feat: Inline http::Method and remove http dependency

* chore: cargo fmt

* chore(docs): fixed doc tests

* chore: restore lock file to previous state

* Previous revert missed some of the changes

* Refactor Method.

Reactor to be just the required for gloo-net to work.

* chore: Method documentation

* Refactor HTTP methods in net crate

* Reverted gloo-net version to 0.4.0

* chore: CHANGELOG update

* chore: typo on CHANGELOG

* fix CHANGELOG for gloo-net

* Return to http 1.0 crate.

* Updated changelog

* Moved changelog version from 0.5.0 to 0.6.0

This is a breaking change so it needs a minor version update.

* chore: Changed changelog as requested.
  • Loading branch information
dgsantana committed Jan 11, 2024
1 parent 64d81f1 commit a823fab
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
4 changes: 4 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -155,6 +155,10 @@

## `net`

### Version "0.6.0"

- Update http crate to 1.0 (#407)

### Version "0.5.0"

- Implement `futures_io::AsyncWrite` and `futures_io::AsyncRead` on `WebSocket`.
Expand Down
6 changes: 3 additions & 3 deletions Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/net/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ serde_json = { version = "1.0", optional = true }

futures-channel = { version = "0.3", optional = true }
pin-project = { version = "1.0", optional = true }
http = "0.2.9"
http = "1.0"

[dev-dependencies]
wasm-bindgen-test = "0.3"
Expand Down

0 comments on commit a823fab

Please sign in to comment.