mirror of
https://github.com/fluencelabs/rust-libp2p
synced 2025-05-03 22:52:16 +00:00
Start writing about the architecture of the repository
[WIP] Central repository for work on libp2p
This repository is the central place for rust development of the libp2p spec.
This readme along with many others 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.
General overview of the architecture
Architecture of the crates of this repository:
datastore
: Utility library whose API provides a key-value storage with multiple possible backends.libp2p-host
: Stub. Will probably get reworked or removed.libp2p-tcp-transport
: Implementation of theTransport
trait for TCP/IP.libp2p-transport
: Contains theTransport
trait. Will probably get reworked or removed.multistream-select
: Implementation of themultistream-select
protocol, which is used to negotiate a protocol over a newly-established connection with a peer, or after a connection upgrade.
Languages
Rust
99.8%
JavaScript
0.2%