Skip to content

Commit 93cc30d

Browse files
koushiroLucioFranco
authored andcommitted
Prune duplicate crossbeam dependencies (#1795)
Signed-off-by: koushiro <koushiro.cqx@gmail.com>
1 parent 0f11d56 commit 93cc30d

File tree

6 files changed

+10
-10
lines changed

6 files changed

+10
-10
lines changed

tokio-executor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ keywords = ["futures", "tokio"]
2121
categories = ["concurrency", "asynchronous"]
2222

2323
[dependencies]
24-
crossbeam-utils = "0.6.2"
24+
crossbeam-utils = "0.7.0"
2525
futures = "0.1.19"
2626

2727
[dev-dependencies]

tokio-reactor/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@ Event loop that drives Tokio I/O resources.
2121
categories = ["asynchronous", "network-programming"]
2222

2323
[dependencies]
24-
crossbeam-utils = "0.6.0"
24+
crossbeam-utils = "0.7.0"
2525
futures = "0.1.19"
2626
lazy_static = "1.0.2"
2727
log = "0.4.1"

tokio-threadpool/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -24,8 +24,8 @@ categories = ["concurrency", "asynchronous"]
2424
tokio-executor = "0.1.8"
2525
futures = "0.1.19"
2626
crossbeam-deque = "0.7.0"
27-
crossbeam-queue = "0.1.0"
28-
crossbeam-utils = "0.6.4"
27+
crossbeam-queue = "0.2.0"
28+
crossbeam-utils = "0.7.0"
2929
num_cpus = "1.2"
3030
slab = "0.4.1"
3131
log = "0.4"

tokio-threadpool/tests/threadpool.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -131,7 +131,7 @@ fn force_shutdown_drops_futures() {
131131
b.fetch_add(1, Relaxed);
132132
})
133133
.build();
134-
let mut tx = pool.sender().clone();
134+
let tx = pool.sender().clone();
135135

136136
tx.spawn(Never(num_drop.clone())).unwrap();
137137

@@ -190,7 +190,7 @@ fn drop_threadpool_drops_futures() {
190190
b.fetch_add(1, Relaxed);
191191
})
192192
.build();
193-
let mut tx = pool.sender().clone();
193+
let tx = pool.sender().clone();
194194

195195
tx.spawn(Never(num_drop.clone())).unwrap();
196196

@@ -219,7 +219,7 @@ fn many_oneshot_futures() {
219219

220220
for _ in 0..50 {
221221
let pool = ThreadPool::new();
222-
let mut tx = pool.sender().clone();
222+
let tx = pool.sender().clone();
223223
let cnt = Arc::new(AtomicUsize::new(0));
224224

225225
for _ in 0..NUM {
@@ -251,7 +251,7 @@ fn many_multishot_futures() {
251251

252252
for _ in 0..50 {
253253
let pool = ThreadPool::new();
254-
let mut pool_tx = pool.sender().clone();
254+
let pool_tx = pool.sender().clone();
255255

256256
let mut start_txs = Vec::with_capacity(TRACKS);
257257
let mut final_rxs = Vec::with_capacity(TRACKS);

tokio-timer/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ Timer facilities for Tokio
2222
[dependencies]
2323
futures = "0.1.19"
2424
tokio-executor = "0.1.1"
25-
crossbeam-utils = "0.6.0"
25+
crossbeam-utils = "0.7.0"
2626

2727
# Backs `DelayQueue`
2828
slab = "0.4.1"

tokio-timer/tests/queue.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -390,7 +390,7 @@ fn reset_first_expiring_item_to_expire_later() {
390390
let epoch = time.now();
391391

392392
let foo = queue.insert_at("foo", epoch + ms(200));
393-
let bar = queue.insert_at("bar", epoch + ms(250));
393+
let _bar = queue.insert_at("bar", epoch + ms(250));
394394

395395
task.enter(|| {
396396
assert_not_ready!(queue);

0 commit comments

Comments
 (0)