rust-libp2p/websocket/Cargo.toml
2018-07-21 12:15:42 +02:00

24 lines
720 B
TOML

[package]
name = "libp2p-websocket"
version = "0.1.0"
authors = ["Parity Technologies <admin@parity.io>"]
license = "MIT"
[dependencies]
libp2p-core = { path = "../core" }
futures = "0.1"
multiaddr = { path = "../multiaddr" }
log = "0.4.1"
rw-stream-sink = { path = "../rw-stream-sink" }
tokio-io = "0.1"
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
websocket = { version = "0.20.2", default-features = false, features = ["async", "async-ssl"] }
[target.'cfg(target_os = "emscripten")'.dependencies]
stdweb = { version = "0.1.3", default-features = false }
[target.'cfg(not(target_os = "emscripten"))'.dev-dependencies]
libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-current-thread = "0.1"