Skip to content

Commit 65fda30

Browse files
bors[bot]dnaka91
andauthored
704: Update crossbeam to avoid multi version dependency r=cuviper a=dnaka91 Just did a `cargo update` on my project today morning and noticed that with the release of **crossbeam-epoch 0.8.0**, rayon starts to depend on 2 versions of **crossbeam-utils**. Before: ``` rayon-core v1.6.0 ├── crossbeam-deque v0.7.2 │ ├── crossbeam-epoch v0.8.0 │ │ └── crossbeam-utils v0.7.0 <-- latest │ └── crossbeam-utils v0.7.0 <-- latest ├── crossbeam-queue v0.1.2 │ └── crossbeam-utils v0.6.6 <-- outdated └── crossbeam-utils v0.6.6 <-- outdated ``` Here Rust will compile 2 versions of the same dependency. After: ``` rayon-core v1.6.0 ├── crossbeam-deque v0.7.2 │ ├── crossbeam-epoch v0.8.0 │ │ └── crossbeam-utils v0.7.0 <-- latest │ └── crossbeam-utils v0.7.0 <-- latest ├── crossbeam-queue v0.2.0 │ └── crossbeam-utils v0.7.0 <-- latest └── crossbeam-utils v0.7.0 <-- latest ``` Here all references are up to date and Rust will only compile one version of `crossbeam-utils`. Co-authored-by: Dominik Nakamura <dnaka91@gmail.com>
2 parents 49668de + b434bfa commit 65fda30

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

rayon-core/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -18,8 +18,8 @@ categories = ["concurrency"]
1818
num_cpus = "1.2"
1919
lazy_static = "1"
2020
crossbeam-deque = "0.7"
21-
crossbeam-queue = "0.1.2"
22-
crossbeam-utils = "0.6.5"
21+
crossbeam-queue = "0.2"
22+
crossbeam-utils = "0.7"
2323

2424
[dev-dependencies]
2525
rand = "0.6"

0 commit comments

Comments
 (0)