pea2pea is a P2P library designed with the following use cases in mind: - simple and quick creation of P2P networks - testing/verifying network protocols - benchmarking and stress-testing P2P nodes (or other network entities) - substituting other, "heavier" nodes in local network tests
no_std
async
runtimesArc<Node>
and any extra state you'd like to carryimpl ContainsNode
for itenable_X_protocol
for all the protocols you want it to activatethat's it!
tests
directory contains some examples of simple useexamples
contain more advanced setups, e.g. using noise encryption