2018-01-02 15:22:55 +01:00
|
|
|
[package]
|
|
|
|
name = "libp2p-websocket"
|
|
|
|
version = "0.1.0"
|
|
|
|
authors = ["Parity Technologies <admin@parity.io>"]
|
2018-07-21 12:15:42 +02:00
|
|
|
license = "MIT"
|
2018-01-02 15:22:55 +01:00
|
|
|
|
|
|
|
[dependencies]
|
2018-05-16 12:59:36 +02:00
|
|
|
libp2p-core = { path = "../core" }
|
2018-01-02 15:22:55 +01:00
|
|
|
futures = "0.1"
|
2018-06-01 10:10:00 +02:00
|
|
|
multiaddr = { path = "../multiaddr" }
|
2018-03-15 15:45:11 +01:00
|
|
|
log = "0.4.1"
|
2018-01-02 15:22:55 +01:00
|
|
|
rw-stream-sink = { path = "../rw-stream-sink" }
|
|
|
|
tokio-io = "0.1"
|
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
|
2018-01-11 16:06:11 +01:00
|
|
|
websocket = { version = "0.20.2", default-features = false, features = ["async", "async-ssl"] }
|
2018-01-02 15:22:55 +01:00
|
|
|
|
|
|
|
[target.'cfg(target_os = "emscripten")'.dependencies]
|
|
|
|
stdweb = { version = "0.1.3", default-features = false }
|
|
|
|
|
|
|
|
[target.'cfg(not(target_os = "emscripten"))'.dev-dependencies]
|
2018-03-20 14:44:46 +01:00
|
|
|
libp2p-tcp-transport = { path = "../tcp-transport" }
|
2018-07-16 12:15:27 +02:00
|
|
|
tokio-current-thread = "0.1"
|