From 95d0bd04624473b546826fdb97f10abe849443e4 Mon Sep 17 00:00:00 2001 From: Taiki Endo Date: Sun, 24 Dec 2023 14:47:14 +0900 Subject: [PATCH] Prepare for the next release - crossbeam-channel 0.5.9 -> 0.5.10 - crossbeam-epoch 0.9.16 -> 0.9.17 - crossbeam-queue 0.3.9 -> 0.3.10 - crossbeam-utils 0.8.17 -> 0.8.18 - crossbeam 0.8.2 -> 0.8.3 --- CHANGELOG.md | 4 +++ Cargo.toml | 37 +++++-------------------- crossbeam-channel/CHANGELOG.md | 5 ++++ crossbeam-channel/Cargo.toml | 10 ++----- crossbeam-channel/benchmarks/Cargo.toml | 2 +- crossbeam-deque/Cargo.toml | 15 ++-------- crossbeam-epoch/CHANGELOG.md | 4 +++ crossbeam-epoch/Cargo.toml | 9 ++---- crossbeam-queue/CHANGELOG.md | 6 ++++ crossbeam-queue/Cargo.toml | 9 ++---- crossbeam-skiplist/Cargo.toml | 14 ++-------- crossbeam-utils/CHANGELOG.md | 7 ++++- crossbeam-utils/Cargo.toml | 2 +- 13 files changed, 49 insertions(+), 75 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 29f85b7b3..7192ccad7 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +# Version 0.8.3 + +- Bump the minimum supported Rust version to 1.61. (#1037) + # Version 0.8.2 - Bump the minimum supported Rust version to 1.38. (#877) diff --git a/Cargo.toml b/Cargo.toml index 023e650e1..94b63b6e5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-X.Y.Z" git tag -version = "0.8.2" +version = "0.8.3" edition = "2021" rust-version = "1.61" license = "MIT OR Apache-2.0" @@ -41,36 +41,13 @@ alloc = ["crossbeam-epoch/alloc", "crossbeam-queue/alloc"] nightly = ["crossbeam-epoch/nightly", "crossbeam-utils/nightly", "crossbeam-queue/nightly"] [dependencies] -cfg-if = "1" - -[dependencies.crossbeam-channel] -version = "0.5.9" -path = "./crossbeam-channel" -default-features = false -optional = true - -[dependencies.crossbeam-deque] -version = "0.8.4" -path = "./crossbeam-deque" -default-features = false -optional = true +crossbeam-channel = { version = "0.5.10", path = "crossbeam-channel", default-features = false, optional = true } +crossbeam-deque = { version = "0.8.4", path = "crossbeam-deque", default-features = false, optional = true } +crossbeam-epoch = { version = "0.9.17", path = "crossbeam-epoch", default-features = false, optional = true } +crossbeam-queue = { version = "0.3.10", path = "crossbeam-queue", default-features = false, optional = true } +crossbeam-utils = { version = "0.8.18", path = "crossbeam-utils", default-features = false } -[dependencies.crossbeam-epoch] -version = "0.9.16" -path = "./crossbeam-epoch" -default-features = false -optional = true - -[dependencies.crossbeam-queue] -version = "0.3.9" -path = "./crossbeam-queue" -default-features = false -optional = true - -[dependencies.crossbeam-utils] -version = "0.8.17" -path = "./crossbeam-utils" -default-features = false +cfg-if = "1" [dev-dependencies] rand = "0.8" diff --git a/crossbeam-channel/CHANGELOG.md b/crossbeam-channel/CHANGELOG.md index 2dec6ca4c..6029b2a81 100644 --- a/crossbeam-channel/CHANGELOG.md +++ b/crossbeam-channel/CHANGELOG.md @@ -1,3 +1,8 @@ +# Version 0.5.10 + +- Relax the minimum supported Rust version to 1.60. (#1056) +- Optimize `Drop` implementation of bounded channel. (#1057) + # Version 0.5.9 - Bump the minimum supported Rust version to 1.61. (#1037) diff --git a/crossbeam-channel/Cargo.toml b/crossbeam-channel/Cargo.toml index 9488c0307..804600ddd 100644 --- a/crossbeam-channel/Cargo.toml +++ b/crossbeam-channel/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-channel" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-channel-X.Y.Z" git tag -version = "0.5.9" +version = "0.5.10" edition = "2021" rust-version = "1.60" license = "MIT OR Apache-2.0" @@ -24,13 +24,9 @@ default = ["std"] std = ["crossbeam-utils/std"] [dependencies] -cfg-if = "1" +crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false } -[dependencies.crossbeam-utils] -version = "0.8.17" -path = "../crossbeam-utils" -default-features = false -optional = true +cfg-if = "1" [dev-dependencies] num_cpus = "1.13.0" diff --git a/crossbeam-channel/benchmarks/Cargo.toml b/crossbeam-channel/benchmarks/Cargo.toml index 07d0b8b9d..751fdcedc 100644 --- a/crossbeam-channel/benchmarks/Cargo.toml +++ b/crossbeam-channel/benchmarks/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "benchmarks" -version = "0.1.0" +version = "0.0.0" edition = "2021" publish = false diff --git a/crossbeam-deque/Cargo.toml b/crossbeam-deque/Cargo.toml index 8a6a87197..d20ee0233 100644 --- a/crossbeam-deque/Cargo.toml +++ b/crossbeam-deque/Cargo.toml @@ -24,19 +24,10 @@ default = ["std"] std = ["crossbeam-epoch/std", "crossbeam-utils/std"] [dependencies] -cfg-if = "1" - -[dependencies.crossbeam-epoch] -version = "0.9.16" -path = "../crossbeam-epoch" -default-features = false -optional = true +crossbeam-epoch = { version = "0.9.17", path = "../crossbeam-epoch", default-features = false } +crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false } -[dependencies.crossbeam-utils] -version = "0.8.17" -path = "../crossbeam-utils" -default-features = false -optional = true +cfg-if = "1" [dev-dependencies] rand = "0.8" diff --git a/crossbeam-epoch/CHANGELOG.md b/crossbeam-epoch/CHANGELOG.md index c81580e51..efd0de97f 100644 --- a/crossbeam-epoch/CHANGELOG.md +++ b/crossbeam-epoch/CHANGELOG.md @@ -1,3 +1,7 @@ +# Version 0.9.17 + +- Remove dependency on `memoffset`. (#1058) + # Version 0.9.16 - Bump the minimum supported Rust version to 1.61. (#1037) diff --git a/crossbeam-epoch/Cargo.toml b/crossbeam-epoch/Cargo.toml index f316aaa46..80d7e4e6f 100644 --- a/crossbeam-epoch/Cargo.toml +++ b/crossbeam-epoch/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-epoch" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-epoch-X.Y.Z" git tag -version = "0.9.16" +version = "0.9.17" edition = "2021" rust-version = "1.61" license = "MIT OR Apache-2.0" @@ -46,6 +46,8 @@ loom = ["loom-crate", "crossbeam-utils/loom"] autocfg = "1" [dependencies] +crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false } + cfg-if = "1" # Enable the use of loom for concurrency testing. @@ -55,10 +57,5 @@ cfg-if = "1" [target.'cfg(crossbeam_loom)'.dependencies] loom-crate = { package = "loom", version = "0.7.1", optional = true } -[dependencies.crossbeam-utils] -version = "0.8.17" -path = "../crossbeam-utils" -default-features = false - [dev-dependencies] rand = "0.8" diff --git a/crossbeam-queue/CHANGELOG.md b/crossbeam-queue/CHANGELOG.md index 1023c3fa9..2e1b3e5bc 100644 --- a/crossbeam-queue/CHANGELOG.md +++ b/crossbeam-queue/CHANGELOG.md @@ -1,3 +1,9 @@ +# Version 0.3.10 + +- Relax the minimum supported Rust version to 1.60. (#1056) +- Implement `UnwindSafe` and `RefUnwindSafe` for `ArrayQueue` and `SegQueue`. (#1053) +- Optimize `Drop` implementation of `ArrayQueue`. (#1057) + # Version 0.3.9 - Bump the minimum supported Rust version to 1.61. (#1037) diff --git a/crossbeam-queue/Cargo.toml b/crossbeam-queue/Cargo.toml index c197c41b8..ad211d996 100644 --- a/crossbeam-queue/Cargo.toml +++ b/crossbeam-queue/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-queue" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-queue-X.Y.Z" git tag -version = "0.3.9" +version = "0.3.10" edition = "2021" rust-version = "1.60" license = "MIT OR Apache-2.0" @@ -37,12 +37,9 @@ alloc = [] nightly = ["crossbeam-utils/nightly"] [dependencies] -cfg-if = "1" +crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false } -[dependencies.crossbeam-utils] -version = "0.8.17" -path = "../crossbeam-utils" -default-features = false +cfg-if = "1" [dev-dependencies] rand = "0.8" diff --git a/crossbeam-skiplist/Cargo.toml b/crossbeam-skiplist/Cargo.toml index a543d0295..1e8d86a42 100644 --- a/crossbeam-skiplist/Cargo.toml +++ b/crossbeam-skiplist/Cargo.toml @@ -28,18 +28,10 @@ std = ["alloc", "crossbeam-epoch/std", "crossbeam-utils/std"] alloc = ["crossbeam-epoch/alloc"] [dependencies] -cfg-if = "1" - -[dependencies.crossbeam-epoch] -version = "0.9.16" -path = "../crossbeam-epoch" -default-features = false -optional = true +crossbeam-epoch = { version = "0.9.17", path = "../crossbeam-epoch", default-features = false } +crossbeam-utils = { version = "0.8.18", path = "../crossbeam-utils", default-features = false } -[dependencies.crossbeam-utils] -version = "0.8.17" -path = "../crossbeam-utils" -default-features = false +cfg-if = "1" [dev-dependencies] rand = "0.8" diff --git a/crossbeam-utils/CHANGELOG.md b/crossbeam-utils/CHANGELOG.md index 154169696..34c6bbda8 100644 --- a/crossbeam-utils/CHANGELOG.md +++ b/crossbeam-utils/CHANGELOG.md @@ -1,8 +1,13 @@ +# Version 0.8.18 + +- Relax the minimum supported Rust version to 1.60. (#1056) +- Improve scalability of `AtomicCell` fallback. (#1055) + # Version 0.8.17 - Bump the minimum supported Rust version to 1.61. (#1037) - Improve support for targets without atomic CAS or 64-bit atomic. (#1037) -- Always implement `{,Ref}UnwindSafe` for AtomicCell. (#1045) +- Always implement `UnwindSafe` and `RefUnwindSafe` for `AtomicCell`. (#1045) - Improve compatibility with Miri, TSan, and loom. (#995, #1003) - Improve compatibility with unstable `oom=panic`. (#1045) - Improve implementation of `CachePadded`. (#1014, #1025) diff --git a/crossbeam-utils/Cargo.toml b/crossbeam-utils/Cargo.toml index 7545edad8..66d8201c4 100644 --- a/crossbeam-utils/Cargo.toml +++ b/crossbeam-utils/Cargo.toml @@ -4,7 +4,7 @@ name = "crossbeam-utils" # - Update CHANGELOG.md # - Update README.md # - Create "crossbeam-utils-X.Y.Z" git tag -version = "0.8.17" +version = "0.8.18" edition = "2021" rust-version = "1.60" license = "MIT OR Apache-2.0"