From 9f73b8dceaebd86048995a674fc9824b3df8a6bc 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 d964245cf7..2671c72696 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 5cfd54d162..0277b18c3c 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-channel" -edition = "2018" version = "0.4.0-alpha.0" +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 41cc935549..e6823d1061 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-core" -edition = "2018" version = "1.0.0-alpha.0" +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 8482df4ab5..1101127ceb 100644 --- a/futures-executor/Cargo.toml +++ b/futures-executor/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-executor" -edition = "2018" version = "0.4.0-alpha.0" +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 fe70e792ea..5f354a0078 100644 --- a/futures-macro/Cargo.toml +++ b/futures-macro/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-macro" -edition = "2018" version = "0.4.0-alpha.0" +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 dff77280d6..5ad86c7d85 100644 --- a/futures-sink/Cargo.toml +++ b/futures-sink/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-sink" -edition = "2018" version = "0.4.0-alpha.0" +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 705dd00128..f6d6000f1f 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-task" -edition = "2018" version = "0.4.0-alpha.0" +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 e295473b58..eb47abbe84 100644 --- a/futures-test/Cargo.toml +++ b/futures-test/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-test" -edition = "2018" version = "0.4.0-alpha.0" +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 02c616959d..7d6c45cff7 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures-util" -edition = "2018" version = "0.4.0-alpha.0" +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 d73a5770ac..a4423bfb2c 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "futures" -edition = "2018" version = "0.4.0-alpha.0" +edition = "2018" +rust-version = "1.45" authors = ["Alex Crichton "] license = "MIT OR Apache-2.0" readme = "../README.md"