Skip to content

Commit 49fff47

Browse files
authored
chore: increase MSRV to 1.49. (tokio-rs#4457)
Rust 1.49 was released on December 31, 2020, which meets our MSRV policy of a minimum of 6 months.
1 parent 77468ae commit 49fff47

File tree

9 files changed

+13
-13
lines changed

9 files changed

+13
-13
lines changed

.clippy.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
msrv = "1.46"
1+
msrv = "1.49"

.github/workflows/ci.yml

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ env:
1313
rust_stable: stable
1414
rust_nightly: nightly-2022-01-12
1515
rust_clippy: 1.52.0
16-
rust_min: 1.46.0
16+
rust_min: 1.49.0
1717

1818
defaults:
1919
run:

README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ several other libraries, including:
163163

164164
## Supported Rust Versions
165165

166-
Tokio is built against the latest stable release. The minimum supported version
167-
is 1.46. The current Tokio version is not guaranteed to build on Rust versions
168-
earlier than the minimum supported version.
166+
Tokio will keep a rolling MSRV (minimum supported rust version) policy of **at
167+
least** 6 months. When increasing the MSRV, the new Rust version must have been
168+
released at least six months ago. The current MSRV is 1.49.0.
169169

170170
## Release schedule
171171

tokio-macros/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio-macros"
66
# - Create "tokio-macros-1.0.x" git tag.
77
version = "1.7.0"
88
edition = "2018"
9-
rust-version = "1.46"
9+
rust-version = "1.49"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"
1212
repository = "https://github.com/tokio-rs/tokio"

tokio-stream/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio-stream"
66
# - Create "tokio-stream-0.1.x" git tag.
77
version = "0.1.8"
88
edition = "2018"
9-
rust-version = "1.46"
9+
rust-version = "1.49"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"
1212
repository = "https://github.com/tokio-rs/tokio"

tokio-test/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio-test"
66
# - Create "tokio-test-0.4.x" git tag.
77
version = "0.4.2"
88
edition = "2018"
9-
rust-version = "1.46"
9+
rust-version = "1.49"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"
1212
repository = "https://github.com/tokio-rs/tokio"

tokio-util/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ name = "tokio-util"
66
# - Create "tokio-util-0.7.x" git tag.
77
version = "0.7.0"
88
edition = "2018"
9-
rust-version = "1.46"
9+
rust-version = "1.49"
1010
authors = ["Tokio Contributors <[email protected]>"]
1111
license = "MIT"
1212
repository = "https://github.com/tokio-rs/tokio"

tokio/Cargo.toml

+1-1
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ name = "tokio"
88
# - Create "v1.0.x" git tag.
99
version = "1.16.1"
1010
edition = "2018"
11-
rust-version = "1.46"
11+
rust-version = "1.49"
1212
authors = ["Tokio Contributors <[email protected]>"]
1313
license = "MIT"
1414
readme = "README.md"

tokio/README.md

+3-3
Original file line numberDiff line numberDiff line change
@@ -163,9 +163,9 @@ several other libraries, including:
163163

164164
## Supported Rust Versions
165165

166-
Tokio is built against the latest stable release. The minimum supported version
167-
is 1.46. The current Tokio version is not guaranteed to build on Rust versions
168-
earlier than the minimum supported version.
166+
Tokio will keep a rolling MSRV (minimum supported rust version) policy of **at
167+
least** 6 months. When increasing the MSRV, the new Rust version must have been
168+
released at least six months ago. The current MSRV is 1.49.0.
169169

170170
## Release schedule
171171

0 commit comments

Comments
 (0)