Skip to content

Commit e7a7337

Browse files
committed
chore: bump MSRV to 1.57
Motivation: to improve panic messages in const fns, which without this are a horrible experience for users. As we make more `from_static` constructors usable in a const context, this is worth the increase. We're still able to build on Debian oldstable.
1 parent 1888e28 commit e7a7337

File tree

2 files changed

+4
-5
lines changed

2 files changed

+4
-5
lines changed

Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -19,9 +19,8 @@ A set of types for representing HTTP requests and responses.
1919
"""
2020
keywords = ["http"]
2121
categories = ["web-programming"]
22-
edition = "2018"
23-
# When updating this value, don't forget to also adjust the GitHub Actions config.
24-
rust-version = "1.49.0"
22+
edition = "2021"
23+
rust-version = "1.57.0"
2524

2625
[workspace]
2726
members = [

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -62,9 +62,9 @@ fn main() {
6262

6363
# Supported Rust Versions
6464

65-
This project follows the [Tokio MSRV][msrv] and is currently set to `1.49`.
65+
This project follows the [hyper's MSRV _policy_][msrv], though it can be lower, and is currently set to `1.57`.
6666

67-
[msrv]: https://github.com/tokio-rs/tokio/#supported-rust-versions
67+
[msrv]: https://hyper.rs/contrib/msrv/
6868

6969
# License
7070

0 commit comments

Comments
 (0)