Skip to content

Commit

Permalink
Merge #311
Browse files Browse the repository at this point in the history
311: Prepare a new Crossbeam release r=stjepang a=stjepang

We're ready to release new versions of all crates! 🎉

Co-authored-by: Stjepan Glavina <stjepang@gmail.com>
  • Loading branch information
bors[bot] and Stjepan Glavina committed Jan 28, 2019
2 parents 9dabbee + bd6603f commit 0c9a7b2
Show file tree
Hide file tree
Showing 18 changed files with 65 additions and 25 deletions.
10 changes: 10 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 0.7.0

- Remove `ArcCell`, `MsQueue`, and `TreiberStack`.
- Change the interface of `ShardedLock` to match `RwLock`.
- Add `SegQueue::len()`.
- Rename `SegQueue::try_pop()` to `SegQueue::pop()`.
- Change the return type of `SegQueue::pop()` to `Result`.
- Introduce `ArrayQueue`.
- Update dependencies.

# Version 0.6.0

- Update dependencies.
Expand Down
12 changes: 6 additions & 6 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "crossbeam"
# - Update CHANGELOG.md
# - Update README.md
# - Create "crossbeam-X.Y.Z" git tag
version = "0.6.0"
version = "0.7.0"
authors = ["The Crossbeam Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -28,23 +28,23 @@ std = ["crossbeam-epoch/std", "crossbeam-utils/std"]
cfg-if = "0.1"

[dependencies.crossbeam-channel]
version = "0.3.4"
version = "0.3.7"
path = "./crossbeam-channel"

[dependencies.crossbeam-deque]
version = "0.6.3"
version = "0.7.0"
path = "./crossbeam-deque"

[dependencies.crossbeam-epoch]
version = "0.7.0"
version = "0.7.1"
path = "./crossbeam-epoch"

[dependencies.crossbeam-queue]
version = "0.0.0"
version = "0.1.0"
path = "./crossbeam-queue"

[dependencies.crossbeam-utils]
version = "0.6.3"
version = "0.7.0"
path = "./crossbeam-utils"

[dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,6 @@ This crate provides a set of tools for concurrent programming:
[`CachePadded`]: https://docs.rs/crossbeam/*/crossbeam/utils/struct.CachePadded.html
[`scope`]: https://docs.rs/crossbeam/*/crossbeam/fn.scope.html


## Crates

The main `crossbeam` crate just [re-exports](src/lib.rs) tools from
Expand Down Expand Up @@ -86,7 +85,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
crossbeam = "0.6"
crossbeam = "0.7"
```

Next, add this to your crate:
Expand Down
9 changes: 9 additions & 0 deletions crossbeam-channel/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,12 @@
# Version 0.3.7

- Remove `parking_lot` and `rand` dependencies.
- Expand documentation.
- Implement `Default` for `Select`.
- Make `size_of::<Receiver<T>>()` smaller.
- Several minor optimizations.
- Add more tests.

# Version 0.3.6

- Fix a bug in initialization of unbounded channels.
Expand Down
6 changes: 3 additions & 3 deletions crossbeam-channel/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "crossbeam-channel"
# - Update CHANGELOG.md
# - Update README.md
# - Create "crossbeam-channel-X.Y.Z" git tag
version = "0.3.6"
version = "0.3.7"
authors = ["The Crossbeam Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -19,13 +19,13 @@ categories = ["algorithms", "concurrency", "data-structures"]
smallvec = "0.6.2"

[dependencies.crossbeam-utils]
version = "0.6.3"
version = "0.7"
path = "../crossbeam-utils"

[dev-dependencies]
rand = "0.6"
signal-hook = "0.1.5"

[dev-dependencies.crossbeam]
version = "0.6"
version = "0.7"
path = ".."
10 changes: 10 additions & 0 deletions crossbeam-deque/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,13 @@
# Version 0.7.0

- Make `Worker::pop()` faster in the FIFO case.
- Replace `fifo()` nad `lifo()` with `Worker::new_fifo()` and `Worker::new_lifo()`.
- Add more batched steal methods.
- Introduce `Injector<T>`, a MPMC queue.
- Rename `Steal::Data` to `Steal::Success`.
- Add `Steal::or_else()` and implement `FromIterator` for `Steal`.
- Add `#[must_use]` to `Steal`.

# Version 0.6.3

- Bump `crossbeam-epoch` to `0.7`.
Expand Down
4 changes: 2 additions & 2 deletions crossbeam-deque/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "crossbeam-deque"
# - Update CHANGELOG.md
# - Update README.md
# - Create "crossbeam-deque-X.Y.Z" git tag
version = "0.6.3"
version = "0.7.0"
authors = ["The Crossbeam Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -20,7 +20,7 @@ version = "0.7"
path = "../crossbeam-epoch"

[dependencies.crossbeam-utils]
version = "0.6"
version = "0.7"
path = "../crossbeam-utils"

[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-deque/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
crossbeam-deque = "0.6"
crossbeam-deque = "0.7"
```

Next, add this to your crate:
Expand Down
5 changes: 5 additions & 0 deletions crossbeam-epoch/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,8 @@
# Version 0.7.1

- Add `Shared::deref_mut()`.
- Add a Treiber stack to examples.

# Version 0.7.0

- Remove `Guard::clone()`.
Expand Down
4 changes: 2 additions & 2 deletions crossbeam-epoch/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "crossbeam-epoch"
# - Update CHANGELOG.md
# - Update README.md
# - Create "crossbeam-epoch-X.Y.Z" git tag
version = "0.7.0"
version = "0.7.1"
authors = ["The Crossbeam Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -30,7 +30,7 @@ version = "0.4"
default-features = false

[dependencies.crossbeam-utils]
version = "0.6"
version = "0.7"
path = "../crossbeam-utils"
default-features = false

Expand Down
3 changes: 3 additions & 0 deletions crossbeam-queue/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
# Version 0.1.0

- Initial version with `ArrayQueue` and `SegQueue`.
4 changes: 2 additions & 2 deletions crossbeam-queue/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "crossbeam-queue"
# - Update CHANGELOG.md
# - Update README.md
# - Create "crossbeam-queue-X.Y.Z" git tag
version = "0.0.0"
version = "0.1.0"
authors = ["The Crossbeam Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand All @@ -16,7 +16,7 @@ keywords = ["queue", "mpmc", "lock-free", "producer", "consumer"]
categories = ["concurrency", "data-structures"]

[dependencies.crossbeam-utils]
version = "0.6"
version = "0.7"
path = "../crossbeam-utils"

[dev-dependencies]
Expand Down
3 changes: 1 addition & 2 deletions crossbeam-queue/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -14,8 +14,7 @@ https://www.rust-lang.org)
This crate provides concurrent queues that can be shared among threads:

* [`ArrayQueue`], a bounded MPMC queue that allocates a fixed-capacity buffer on construction.
* [`SegQueue`], an unbounded MPMC queue that allocates segments on demand. Segments are small
buffers that can hold a handful of elements.
* [`SegQueue`], an unbounded MPMC queue that allocates small buffers, segments, on demand.

[`ArrayQueue`]: https://docs.rs/crossbeam-queue/*/crossbeam_queue/struct.ArrayQueue.html
[`SegQueue`]: https://docs.rs/crossbeam-queue/*/crossbeam_queue/struct.SegQueue.html
Expand Down
3 changes: 1 addition & 2 deletions crossbeam-queue/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,7 @@
//! This crate provides concurrent queues that can be shared among threads:
//!
//! * [`ArrayQueue`], a bounded MPMC queue that allocates a fixed-capacity buffer on construction.
//! * [`SegQueue`], an unbounded MPMC queue that allocates segments on demand. Segments are small
//! buffers that can hold a handful of elements.
//! * [`SegQueue`], an unbounded MPMC queue that allocates small buffers, segments, on demand.
//!
//! [`ArrayQueue`]: struct.ArrayQueue.html
//! [`SegQueue`]: struct.SegQueue.html
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-skiplist/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ path = "../crossbeam-epoch"
default-features = false

[dependencies.crossbeam-utils]
version = "0.6"
version = "0.7"
path = "../crossbeam-utils"
default-features = false

Expand Down
6 changes: 6 additions & 0 deletions crossbeam-utils/CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,3 +1,9 @@
# Version 0.7.0

- Add `WaitGroup`, `ShardedLock`, and `Backoff`.
- Add `fetch_*` methods for `AtomicCell<i128>` and `AtomicCell<u128>`.
- Expand documentation.

# Version 0.6.3

- Add `AtomicCell`.
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-utils/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ name = "crossbeam-utils"
# - Update CHANGELOG.md
# - Update README.md
# - Create "crossbeam-utils-X.Y.Z" git tag
version = "0.6.3"
version = "0.7.0"
authors = ["The Crossbeam Project Developers"]
license = "MIT/Apache-2.0"
readme = "README.md"
Expand Down
2 changes: 1 addition & 1 deletion crossbeam-utils/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ Add this to your `Cargo.toml`:

```toml
[dependencies]
crossbeam-utils = "0.6"
crossbeam-utils = "0.7"
```

Next, add this to your crate:
Expand Down

0 comments on commit 0c9a7b2

Please sign in to comment.