From c311f7dd24ec4f7c64ea686230fd95d426634538 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sat, 8 May 2021 00:53:43 +0900 Subject: [PATCH] Remove unneeded cfg-target-has-atomic feature --- futures-channel/Cargo.toml | 5 ----- futures-core/Cargo.toml | 5 ----- futures-task/Cargo.toml | 5 ----- futures-util/Cargo.toml | 6 +----- futures/Cargo.toml | 6 +----- 5 files changed, 2 insertions(+), 25 deletions(-) diff --git a/futures-channel/Cargo.toml b/futures-channel/Cargo.toml index 344c3a7854..b7aac95cf5 100644 --- a/futures-channel/Cargo.toml +++ b/futures-channel/Cargo.toml @@ -17,11 +17,6 @@ std = ["alloc", "futures-core/std"] alloc = ["futures-core/alloc"] sink = ["futures-sink"] -# These features are no longer used. -# TODO: remove in the next major version. -unstable = [] -cfg-target-has-atomic = [] - [dependencies] futures-core = { path = "../futures-core", version = "=1.0.0-alpha.0", default-features = false } futures-sink = { path = "../futures-sink", version = "=0.4.0-alpha.0", default-features = false, optional = true } diff --git a/futures-core/Cargo.toml b/futures-core/Cargo.toml index 5824655350..483c9e980e 100644 --- a/futures-core/Cargo.toml +++ b/futures-core/Cargo.toml @@ -16,11 +16,6 @@ default = ["std"] std = ["alloc"] alloc = [] -# These features are no longer used. -# TODO: remove in the next major version. -unstable = [] -cfg-target-has-atomic = [] - [dependencies] [dev-dependencies] diff --git a/futures-task/Cargo.toml b/futures-task/Cargo.toml index 9590d4a54c..e97515976b 100644 --- a/futures-task/Cargo.toml +++ b/futures-task/Cargo.toml @@ -16,11 +16,6 @@ default = ["std"] std = ["alloc"] alloc = [] -# These features are no longer used. -# TODO: remove in the next major version. -unstable = [] -cfg-target-has-atomic = [] - [dependencies] [dev-dependencies] diff --git a/futures-util/Cargo.toml b/futures-util/Cargo.toml index 0829c936eb..19fb528925 100644 --- a/futures-util/Cargo.toml +++ b/futures-util/Cargo.toml @@ -26,15 +26,11 @@ channel = ["std", "futures-channel"] # Unstable features # These features are outside of the normal semver guarantees and require the # `unstable` feature as an explicit opt-in to unstable API. -unstable = ["futures-core/unstable", "futures-task/unstable"] +unstable = [] bilock = [] read-initializer = ["io", "futures-io/read-initializer", "futures-io/unstable"] write-all-vectored = ["io"] -# These features are no longer used. -# TODO: remove in the next major version. -cfg-target-has-atomic = [] - [build-dependencies] autocfg = "1" diff --git a/futures/Cargo.toml b/futures/Cargo.toml index ccad92db45..ad98279e38 100644 --- a/futures/Cargo.toml +++ b/futures/Cargo.toml @@ -46,15 +46,11 @@ thread-pool = ["executor", "futures-executor/thread-pool"] # Unstable features # These features are outside of the normal semver guarantees and require the # `unstable` feature as an explicit opt-in to unstable API. -unstable = ["futures-core/unstable", "futures-task/unstable", "futures-channel/unstable", "futures-io/unstable", "futures-util/unstable"] +unstable = ["futures-io/unstable", "futures-util/unstable"] bilock = ["futures-util/bilock"] read-initializer = ["futures-io/read-initializer", "futures-util/read-initializer"] write-all-vectored = ["futures-util/write-all-vectored"] -# These features are no longer used. -# TODO: remove in the next major version. -cfg-target-has-atomic = [] - [package.metadata.docs.rs] all-features = true rustdoc-args = ["--cfg", "docsrs"]