Floodsub chat example (#641)

* Add a floodsub example with the new Swarm

* WIP fixes for Floodsub chat-example code

* cleanup

* Address grumbles

* Update docs

* Update to newest master
This commit is contained in:
David
2018-11-20 10:35:22 +01:00
committed by Pierre Krieger
parent afa54085d5
commit 080a75451f
4 changed files with 127 additions and 3 deletions

View File

@ -165,7 +165,7 @@ mod transport_ext;
pub mod simple;
pub use self::core::{
Transport, PeerId,
Transport, PeerId, Swarm,
upgrade::{InboundUpgrade, InboundUpgradeExt, OutboundUpgrade, OutboundUpgradeExt}
};
pub use libp2p_core_derive::NetworkBehaviour;