Skip to content

Commit

Permalink
Update dependencies and bump version
Browse files Browse the repository at this point in the history
Unfortunately crossbeam-channel is in the public API of `RouterProxy` so
updating it is a breaking change.
  • Loading branch information
Eijebong committed Nov 7, 2019
1 parent 77e1a57 commit 1a9d35b
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "ipc-channel"
version = "0.12.2"
version = "0.13.0"
description = "A multiprocess drop-in replacement for Rust channels"
authors = ["The Servo Project Developers"]
license = "MIT/Apache-2.0"
Expand All @@ -15,7 +15,7 @@ async = ["futures-preview", "futures-test-preview"]

[dependencies]
bincode = "1"
crossbeam-channel = "0.3"
crossbeam-channel = "0.4"
fnv = "1.0.3"
futures-preview = { version = "0.3.0-alpha.17", optional = true }
futures-test-preview = { version = "0.3.0-alpha.17", optional = true }
Expand All @@ -31,4 +31,4 @@ mio = "0.6.11"
sc = { version = "0.2.2", optional = true }

[dev-dependencies]
crossbeam = "0.2"
crossbeam-utils = "0.7"
6 changes: 3 additions & 3 deletions benches/bench.rs
Original file line number Diff line number Diff line change
Expand Up @@ -14,7 +14,7 @@ extern crate test;
const ITERATIONS: usize = 1;

mod platform {
extern crate crossbeam;
extern crate crossbeam_utils;

use crate::ITERATIONS;
use ipc_channel::platform;
Expand All @@ -40,9 +40,9 @@ mod platform {

if size > platform::OsIpcSender::get_max_fragment_size() {
b.iter(|| {
crossbeam::scope(|scope| {
crossbeam_utils::thread::scope(|scope| {
let tx = tx.clone();
scope.spawn(|| {
scope.spawn(|_| {
let wait_rx = wait_rx.lock().unwrap();
let tx = tx;
for _ in 0..ITERATIONS {
Expand Down

0 comments on commit 1a9d35b

Please sign in to comment.