chore: increase MSRV to 1.49. (#4457)

Rust 1.49 was released on December 31, 2020, which meets our MSRV policy
of a minimum of 6 months.
This commit is contained in:
Carl Lerche 2022-01-31 13:26:12 -08:00 committed by GitHub
parent 77468ae3b0
commit 49fff47111
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
9 changed files with 13 additions and 13 deletions

View File

@ -1 +1 @@
msrv = "1.46"
msrv = "1.49"

View File

@ -13,7 +13,7 @@ env:
rust_stable: stable
rust_nightly: nightly-2022-01-12
rust_clippy: 1.52.0
rust_min: 1.46.0
rust_min: 1.49.0
defaults:
run:

View File

@ -163,9 +163,9 @@ several other libraries, including:
## Supported Rust Versions
Tokio is built against the latest stable release. The minimum supported version
is 1.46. The current Tokio version is not guaranteed to build on Rust versions
earlier than the minimum supported version.
Tokio will keep a rolling MSRV (minimum supported rust version) policy of **at
least** 6 months. When increasing the MSRV, the new Rust version must have been
released at least six months ago. The current MSRV is 1.49.0.
## Release schedule

View File

@ -6,7 +6,7 @@ name = "tokio-macros"
# - Create "tokio-macros-1.0.x" git tag.
version = "1.7.0"
edition = "2018"
rust-version = "1.46"
rust-version = "1.49"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"

View File

@ -6,7 +6,7 @@ name = "tokio-stream"
# - Create "tokio-stream-0.1.x" git tag.
version = "0.1.8"
edition = "2018"
rust-version = "1.46"
rust-version = "1.49"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"

View File

@ -6,7 +6,7 @@ name = "tokio-test"
# - Create "tokio-test-0.4.x" git tag.
version = "0.4.2"
edition = "2018"
rust-version = "1.46"
rust-version = "1.49"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"

View File

@ -6,7 +6,7 @@ name = "tokio-util"
# - Create "tokio-util-0.7.x" git tag.
version = "0.7.0"
edition = "2018"
rust-version = "1.46"
rust-version = "1.49"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
repository = "https://github.com/tokio-rs/tokio"

View File

@ -8,7 +8,7 @@ name = "tokio"
# - Create "v1.0.x" git tag.
version = "1.16.1"
edition = "2018"
rust-version = "1.46"
rust-version = "1.49"
authors = ["Tokio Contributors <team@tokio.rs>"]
license = "MIT"
readme = "README.md"

View File

@ -163,9 +163,9 @@ several other libraries, including:
## Supported Rust Versions
Tokio is built against the latest stable release. The minimum supported version
is 1.46. The current Tokio version is not guaranteed to build on Rust versions
earlier than the minimum supported version.
Tokio will keep a rolling MSRV (minimum supported rust version) policy of **at
least** 6 months. When increasing the MSRV, the new Rust version must have been
released at least six months ago. The current MSRV is 1.49.0.
## Release schedule