Crate libp2p_rs[][src]

Libp2p-rs is a peer-to-peer framework.

Summary

The crate is aimed at implementing a framework that light weight, simple, reliable, high performance, and friendly to users.

Concept

Multiaddr

Multiaddr aims to make network addresses future-proof, composable, and efficient.

It can express almost all network protocols, such as:

  • TCP/IP: /ip4/127.0.0.1/tcp/1337
  • DNS/IP: /dns4/localhost/tcp/1337
  • UDP: /ip4/127.0.0.1/udp/1234

Re-exports

pub use xcli;

Modules

core

Transports, upgrades, multiplexing and node handling of libp2p.

dns

libp2prs-dns

exporter
floodsub
infoserver
kad

Implementation of the libp2p-specific Kademlia protocol.

mdns

mDNS is a protocol defined by RFC 6762 that allows querying nodes that correspond to a certain domain name.

mplex
multiaddr
noise

Noise protocol framework support for libp2p.

plaintext
runtime
secio

Aes Encrypted communication and handshake process implementation

swarm

High level manager of the network.

tcp

Implementation of the libp2p Transport trait for TCP/IP.

yamux

Implements the Yamux multiplexing protocol for libp2p, see also the specification.