From c2f4aeac23447348cc94cc5a92c9e947d48c2e6d Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Tue, 23 Nov 2021 09:42:09 +0900 Subject: [PATCH] Add rust-version field to Cargo.toml https://doc.rust-lang.org/cargo/reference/manifest.html#the-rust-version-field --- .github/workflows/ci.yml | 4 ++-- futures-channel/Cargo.toml | 3 ++- futures-core/Cargo.toml | 3 ++- futures-executor/Cargo.toml | 3 ++- futures-io/Cargo.toml | 3 ++- futures-macro/Cargo.toml | 3 ++- futures-sink/Cargo.toml | 3 ++- futures-task/Cargo.toml | 3 ++- futures-test/Cargo.toml | 3 ++- futures-util/Cargo.toml | 3 ++- futures/Cargo.toml | 3 ++- 11 files changed, 22 insertions(+), 12 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 81a956c353..ec836214e2 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -61,7 +61,7 @@ jobs: matrix: rust: # This is the minimum Rust version supported by futures-core, futures-io, futures-sink, futures-task. - # When updating this, the reminder to update the minimum required version in README.md and .clippy.toml. + # When updating this, the reminder to update the minimum required version in README.md, Cargo.toml, and .clippy.toml. - 1.36 runs-on: ubuntu-latest steps: @@ -92,7 +92,7 @@ jobs: matrix: rust: # This is the minimum Rust version supported by futures, futures-util, futures-macro, futures-executor, futures-channel, futures-test. - # When updating this, the reminder to update the minimum required version in README.md. + # When updating this, the reminder to update the minimum required version in README.md and Cargo.toml. - 1.45 runs-on: ubuntu-latest steps: diff --git a/futures-channel/Cargo.toml b/futures-channel/Cargo.toml index 91c3b71590..01375bedae 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-channel" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.45" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-core/Cargo.toml b/futures-core/Cargo.toml index 485fb02551..0cd1d1dfe0 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-core" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.36" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-executor/Cargo.toml b/futures-executor/Cargo.toml index 359576f101..1fbe4290c4 100644 --- a/futures-executor/Cargo.toml +++ b/futures-executor/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-executor" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.45" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-io/Cargo.toml b/futures-io/Cargo.toml index 9558b9167f..c2b21c601f 100644 --- a/futures-io/Cargo.toml +++ b/futures-io/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-io" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.36" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-macro/Cargo.toml b/futures-macro/Cargo.toml index 67331f0ade..0441092a87 100644 --- a/futures-macro/Cargo.toml +++ b/futures-macro/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-macro" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.45" authors = ["Taylor Cramer ", "Taiki Endo "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-sink/Cargo.toml b/futures-sink/Cargo.toml index 555a594ad4..919525f8dd 100644 --- a/futures-sink/Cargo.toml +++ b/futures-sink/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-sink" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.36" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-task/Cargo.toml b/futures-task/Cargo.toml index 31ee26118a..ceb293d34e 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-task" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.36" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-test/Cargo.toml b/futures-test/Cargo.toml index d68296000e..dff72dcc85 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-test" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.45" authors = ["Wim Looman "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index 43b15e8170..600ef5a25f 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-util" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.45" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" repository = "https://github.com/rust-lang/futures-rs" diff --git a/futures/Cargo.toml b/futures/Cargo.toml index e3d8ce7b9d..eb987fab1d 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures" -edition = "2018" version = "0.3.17" +edition = "2018" +rust-version = "1.45" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" readme = "../README.md"