Expand description
Re-exports
Modules
Transports, upgrades, multiplexing and node handling of libp2p.
dcutr
dcutr
Implementation of the libp2p Direct Connection Upgrade through Relay
specification.
deflate
deflate
and neither Emscripten nor WASI nor target_os="unknown"
A node’s network identity keys.
metrics
metrics
Auxiliary crate recording protocol and Swarm events and exposing them as
metrics in the OpenMetrics format.
Multihash implementation.
noise
noise
Noise protocol framework support for libp2p.
ping
ping
This module implements the
/ipfs/ping/1.0.0
protocol.quic
quic
and neither Emscripten nor WASI nor target_os="unknown"
Implementation of the QUIC transport protocol for libp2p.
relay
relay
Implementation of libp2p circuit relay protocol.
rendezvous
rendezvous
Implementation of the Rendezvous protocol.
request_response
request-response
Generic request/response protocols.
High-level network manager.
tcp
tcp
Implementation of the libp2p
libp2p_core::Transport
trait for TCP/IP.tls
tls
TLS configuration based on libp2p TLS specs.
Rust-libp2p Tutorials to get started with.
uds
uds
wasm_ext
wasm-ext
Implementation of the libp2p
Transport
trait for external transports.webrtc
webrtc
Implementation of the
libp2p_core::Transport
trait for WebRTC protocol without a signaling
server.websocket
websocket
and neither Emscripten nor WASI nor target_os="unknown"
Implementation of the libp2p
Transport
trait for Websockets.Macros
Easy way for a user to create a
Multiaddr
.Structs
Representation of a Multiaddr.
Identifier of a peer of the network.
Contains the state of the network, plus the way it should behave.
Enums
Traits
Possible upgrade on an inbound connection or substream.
Extension trait for
InboundUpgrade
. Automatically implemented on all types that implement
InboundUpgrade
.Possible upgrade on an outbound connection or substream.
Extention trait for
OutboundUpgrade
. Automatically implemented on all types that implement
OutboundUpgrade
.A transport provides connection-oriented communication between two peers
through ordered streams of data (i.e. connections).
Trait automatically implemented on all objects that implement
Transport
. Provides some
additional utilities.Functions
development_transportNeither Emscripten nor WASI nor
target_os="unknown"
and (tcp-async-io
and dns-async-std
, or tcp
and dns
and async-std
) and websocket
and noise
and mplex
and yamux
Builds a
Transport
based on TCP/IP that supports the most commonly-used features of libp2p:tokio_development_transportNeither Emscripten nor WASI nor
target_os="unknown"
and (tcp-tokio
and dns-tokio
, or tcp
and dns
and tokio
) and websocket
and noise
and mplex
and yamux
Builds a
Transport
based on TCP/IP that supports the most commonly-used features of libp2p: