Restore ratelimit in libp2p facade (#213)

This commit is contained in:
Pierre Krieger 2018-05-23 17:03:42 +02:00 committed by GitHub
parent 445ae17904
commit b5db91a075
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 1 additions and 2 deletions

View File

@ -13,6 +13,7 @@ libp2p-kad = { path = "../kad" }
libp2p-floodsub = { path = "../floodsub" }
libp2p-peerstore = { path = "../peerstore" }
libp2p-ping = { path = "../ping" }
libp2p-ratelimit = { path = "../ratelimit" }
libp2p-relay = { path = "../relay" }
libp2p-core = { path = "../core" }
libp2p-websocket = { path = "../websocket" }
@ -20,7 +21,6 @@ tokio-io = "0.1"
[target.'cfg(not(target_os = "emscripten"))'.dependencies]
libp2p-dns = { path = "../dns" }
libp2p-ratelimit = { path = "../ratelimit" } # TODO: https://github.com/libp2p/rust-libp2p/issues/204
libp2p-secio = { path = "../secio" }
libp2p-tcp-transport = { path = "../tcp-transport" }
tokio-core = "0.1"

View File

@ -34,7 +34,6 @@ pub extern crate libp2p_floodsub as floodsub;
pub extern crate libp2p_mplex as mplex;
pub extern crate libp2p_peerstore as peerstore;
pub extern crate libp2p_ping as ping;
#[cfg(not(target_os = "emscripten"))]
pub extern crate libp2p_ratelimit as ratelimit;
pub extern crate libp2p_relay as relay;
#[cfg(not(target_os = "emscripten"))]