Skip to content

Commit 7ffaf34

Browse files
bors[bot]cuviper
andauthored
716: Release rayon 1.3.0 / rayon-core 1.7.0 r=cuviper a=cuviper This also removes `rayon-futures` and `cfg(rayon_unstable)` -- see rayon-rs#715 for their deprecation. Co-authored-by: Josh Stone <[email protected]>
2 parents ab4d244 + 163003e commit 7ffaf34

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

72 files changed

+200
-2185
lines changed

.travis.yml

Lines changed: 2 additions & 27 deletions
Original file line numberDiff line numberDiff line change
@@ -9,8 +9,8 @@ matrix:
99
fast_finish: true
1010
include:
1111
# NB: To help with CI delays, each `pull_request` is only tested on Linux,
12-
# with 1.31 for compatibility and stable+rayon_unstable for broad test
13-
# coverage. The bors bot counts as a `push` type, which will run it all.
12+
# with 1.31 for compatibility and stable for broad test coverage. The bors
13+
# bot counts as a `push` type, which will run it all.
1414

1515
- rust: 1.31.0
1616
os: linux
@@ -20,43 +20,23 @@ matrix:
2020

2121
- rust: stable
2222
os: linux
23-
if: NOT type = pull_request
24-
- rust: stable
25-
os: linux
26-
env: RUSTFLAGS='--cfg rayon_unstable'
2723
#if: everything!
2824

2925
- rust: beta
3026
os: linux
3127
if: NOT type = pull_request
32-
- rust: beta
33-
os: linux
34-
env: RUSTFLAGS='--cfg rayon_unstable'
35-
if: NOT type = pull_request
3628

3729
- rust: nightly
3830
os: linux
3931
if: NOT type = pull_request
40-
- rust: nightly
41-
os: linux
42-
env: RUSTFLAGS='--cfg rayon_unstable'
43-
if: NOT type = pull_request
4432

4533
- rust: stable
4634
os: osx
4735
if: NOT type = pull_request
48-
- rust: stable
49-
os: osx
50-
env: RUSTFLAGS='--cfg rayon_unstable'
51-
if: NOT type = pull_request
5236

5337
- rust: nightly
5438
os: osx
5539
if: NOT type = pull_request
56-
- rust: nightly
57-
os: osx
58-
env: RUSTFLAGS='--cfg rayon_unstable'
59-
if: NOT type = pull_request
6040

6141
# wasm won't actually work without threading, but it builds
6242
- rust: nightly
@@ -86,11 +66,6 @@ script:
8666
- cargo test -p rayon
8767
- cargo test -p rayon-core
8868
- ./ci/highlander.sh
89-
- |
90-
if [ -n "$RUSTFLAGS" ]; then
91-
cargo build -p rayon-futures &&
92-
cargo test -p rayon-futures
93-
fi
9469

9570
branches:
9671
only:

Cargo.toml

Lines changed: 7 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "rayon"
33
# Reminder to update html_rool_url in lib.rs when updating version
4-
version = "1.2.1"
4+
version = "1.3.0"
55
authors = ["Niko Matsakis <[email protected]>",
66
"Josh Stone <[email protected]>"]
77
description = "Simple work-stealing parallelism for Rust"
@@ -15,11 +15,11 @@ categories = ["concurrency"]
1515
exclude = ["/ci/*", "/scripts/*", "/.travis.yml", "/appveyor.yml", "/bors.toml"]
1616

1717
[workspace]
18-
members = ["rayon-demo", "rayon-core", "rayon-futures"]
18+
members = ["rayon-demo", "rayon-core"]
1919
exclude = ["ci"]
2020

2121
[dependencies]
22-
rayon-core = { version = "1.6.1", path = "rayon-core" }
22+
rayon-core = { version = "1.7.0", path = "rayon-core" }
2323
crossbeam-deque = "0.7.2"
2424

2525
# This is a public dependency!
@@ -32,6 +32,8 @@ docopt = "1"
3232
lazy_static = "1"
3333
rand = "0.7"
3434
rand_xorshift = "0.2"
35-
serde = "1"
36-
serde_derive = "1"
3735
doc-comment = "0.3"
36+
37+
[dev-dependencies.serde]
38+
version = "1.0.85"
39+
features = ["derive"]

README.md

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -74,12 +74,6 @@ as:
7474
rayon = "1.1"
7575
```
7676

77-
and then add the following to your `lib.rs`:
78-
79-
```rust
80-
extern crate rayon;
81-
```
82-
8377
To use the Parallel Iterator APIs, a number of traits have to be in
8478
scope. The easiest way to bring those things into scope is to use the
8579
[Rayon prelude](https://docs.rs/rayon/*/rayon/prelude/index.html). In

RELEASES.md

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,40 @@
1+
# Release rayon 1.3.0 / rayon-core 1.7.0 (2019-12-21)
2+
3+
- Tuples up to length 12 now implement `IntoParallelIterator`, creating a
4+
`MultiZip` iterator that produces items as similarly-shaped tuples.
5+
- The `--cfg=rayon_unstable` supporting code for `rayon-futures` is removed.
6+
- The minimum supported `rustc` is now 1.31.
7+
8+
## Contributors
9+
10+
Thanks to all of the contributors for this release!
11+
12+
- @cuviper
13+
- @c410-f3r
14+
- @silwol
15+
16+
17+
# Release rayon-futures 0.1.1 (2019-12-21)
18+
19+
- `Send` bounds have been added for the `Item` and `Error` associated types on
20+
all generic `F: Future` interfaces. While technically a breaking change, this
21+
is a soundness fix, so we are not increasing the semantic version for this.
22+
- This crate is now deprecated, and the `--cfg=rayon_unstable` supporting code
23+
will be removed in `rayon-core 1.7.0`. This only supported the now-obsolete
24+
`Future` from `futures 0.1`, while support for `std::future::Future` is
25+
expected to come directly in `rayon-core` -- although that is not ready yet.
26+
27+
## Contributors
28+
29+
Thanks to all of the contributors for this release!
30+
31+
- @cuviper
32+
- @kornelski
33+
- @jClaireCodesStuff
34+
- @jwass
35+
- @seanchen1991
36+
37+
138
# Release rayon 1.2.1 / rayon-core 1.6.1 (2019-11-20)
239

340
- Update crossbeam dependencies.

appveyor.yml

Lines changed: 0 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -3,15 +3,8 @@ environment:
33
matrix:
44
- TARGET: x86_64-pc-windows-gnu
55
CHANNEL: stable
6-
- TARGET: x86_64-pc-windows-gnu
7-
CHANNEL: stable
8-
RUSTFLAGS: --cfg rayon_unstable
9-
10-
- TARGET: x86_64-pc-windows-msvc
11-
CHANNEL: stable
126
- TARGET: x86_64-pc-windows-msvc
137
CHANNEL: stable
14-
RUSTFLAGS: --cfg rayon_unstable
158

169
install:
1710
- curl -sSf -o rustup-init.exe https://win.rustup.rs
@@ -29,10 +22,6 @@ test_script:
2922
- cargo build
3023
- cargo test -p rayon
3124
- cargo test -p rayon-core
32-
- if not "%RUSTFLAGS%"=="%^RUSTFLAGS%" (
33-
cargo build -p rayon-futures &&
34-
cargo test -p rayon-futures
35-
)
3625

3726
branches:
3827
only:

0 commit comments

Comments
 (0)