mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-04-25 11:02:12 +00:00
Instead of having one struct with uninitialised fields which are mutated, have explicit states and ensure that the types show that there is no ambiguity which data is available or not. Consequently, this removes quite a few `unwrap`/`expect` calls.
Central repository for work on libp2p
This repository is the central place for Rust development of the libp2p spec.
This readme will be more fleshed out the closer the project gets to completion. Right now everything including the crate organization is very much Work in Progress.
Documentation
This repository includes a facade crate named libp2p
, which reexports the rest of the repository.
For documentation, you are encouraged to clone this repository or add libp2p
as a dependency in
your Cargo.toml and run cargo doc
.
[dependencies]
libp2p = { git = "https://github.com/libp2p/rust-libp2p" }
Notable users
(open a pull request if you want your project to be added here)
Languages
Rust
99.8%
JavaScript
0.2%