mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-27 17:51:20 +00:00
Restore ratelimit in libp2p facade (#213)
This commit is contained in:
parent
445ae17904
commit
b5db91a075
@ -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"
|
||||
|
@ -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"))]
|
||||
|
Loading…
x
Reference in New Issue
Block a user