diff --git a/protocols/secio/Cargo.toml b/protocols/secio/Cargo.toml index 421fa3ed..f6f0eef9 100644 --- a/protocols/secio/Cargo.toml +++ b/protocols/secio/Cargo.toml @@ -33,7 +33,7 @@ untrusted = { version = "0.6" } [target.'cfg(target_arch = "wasm32")'.dependencies] js-sys = "0.3.10" -send_wrapper = "0.2" +parity-send-wrapper = "0.1" wasm-bindgen = "0.2.33" wasm-bindgen-futures = "0.3.10" web-sys = { version = "0.3.10", features = ["Crypto", "CryptoKey", "SubtleCrypto", "Window"] } diff --git a/protocols/secio/src/exchange/impl_webcrypto.rs b/protocols/secio/src/exchange/impl_webcrypto.rs index 2b5be088..2a883103 100644 --- a/protocols/secio/src/exchange/impl_webcrypto.rs +++ b/protocols/secio/src/exchange/impl_webcrypto.rs @@ -22,7 +22,7 @@ use crate::{KeyAgreement, SecioError}; use futures::prelude::*; -use send_wrapper::SendWrapper; +use parity_send_wrapper::SendWrapper; use std::io; use wasm_bindgen::prelude::*; diff --git a/transports/wasm-ext/Cargo.toml b/transports/wasm-ext/Cargo.toml index db2da06e..2fc85ef6 100644 --- a/transports/wasm-ext/Cargo.toml +++ b/transports/wasm-ext/Cargo.toml @@ -13,7 +13,7 @@ categories = ["network-programming", "asynchronous"] futures = "0.1" js-sys = "0.3.19" libp2p-core = { version = "0.8.0", path = "../../core" } -send_wrapper = "0.2.0" +parity-send-wrapper = "0.1.0" tokio-io = "0.1" wasm-bindgen = "0.2.42" wasm-bindgen-futures = "0.3.19" diff --git a/transports/wasm-ext/src/lib.rs b/transports/wasm-ext/src/lib.rs index ee0abc91..ec4d5ddc 100644 --- a/transports/wasm-ext/src/lib.rs +++ b/transports/wasm-ext/src/lib.rs @@ -34,7 +34,7 @@ use futures::{future::FutureResult, prelude::*, stream::Stream, try_ready}; use libp2p_core::{transport::ListenerEvent, transport::TransportError, Multiaddr, Transport}; -use send_wrapper::SendWrapper; +use parity_send_wrapper::SendWrapper; use std::{collections::VecDeque, error, fmt, io, mem}; use wasm_bindgen::{JsCast, prelude::*};