/libp2p-rs

An alternative libp2p implementation in Rust

Primary LanguageRustMIT LicenseMIT

Alternative repository for work on libp2p

Continuous integration

This repository is an alternative implementation in Rust of the libp2p spec. Not like rust-libp2p, libp2p-rs is written with async/await syntax, and driven by async-std. Even though, many codes are borrowed from rust-libp2p and some from go-libp2p. We are trying to keep compatible with the two implementations, but it is unfortunately not guaranteed.

Documentations

How to use the library?

Code examples:

  • More details about how to write your code can be found in examples

Limitations

As for the first stage, we'd like to limit our development scope to deliver the basic functionality equivalent to the basic-host in go-libp2p. There is a lone term plan to make a full package which includes the routing protocols as go-libp2p does. Therefore, the first release will not include any KAD-DHT, mDns and so on. Contributions are welcome to complete the libp2p-rs as a full functional libp2p package.

Releases

NOTE: The master branch is now an active development branch (starting with v0.1.0), which means breaking changes could be made at any time.