Skip to content

Commit

Permalink
chore(http-body): update msrv to 1.61 (#141)
Browse files Browse the repository at this point in the history
this commit updates the MSRV of the `http-body` crate to 1.61.

this brings the `http-body` crate into step with the MSRV of the
`http-body-util` crate.

in #128, the MSRV of the `http-body-util` crate was update to 1.61.
however, compiling a crate in practice requires being able to parse all
of the package manifests in its workspace. this means that using more
recent features, like `dep:` syntax for optional dependencies included
via cargo features, will not work due to the older `1.49` toolchain
supported by `http-body`.

see the rust reference, here:
<https://doc.rust-lang.org/cargo/reference/features.html#optional-dependencies>

see #140, which depends on this commit.
  • Loading branch information
cratelyn authored Jan 15, 2025
1 parent 98d0886 commit 7339aec
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion http-body/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -23,7 +23,7 @@ Trait representing an asynchronous, streaming, HTTP request or response body.
"""
keywords = ["http"]
categories = ["web-programming"]
rust-version = "1.49"
rust-version = "1.61"

[dependencies]
bytes = "1"
Expand Down

0 comments on commit 7339aec

Please sign in to comment.