Registry / networking / tetsy-libp2p-swarm

tetsy-libp2p-swarm

JSON →
library0.28.0rscratesunverified

The tetsy-libp2p swarm, providing peer-to-peer networking capabilities.

# Cargo.toml [dependencies] tetsy-libp2p-swarm = "0.28.0"
INSTALL
IMPORT
SIG · TETSY-LIBP2P-SWARM
T
tetsy-libp2p-swarm
networkingrustv0.28.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Swarm
use tetsy_libp2p_swarm::Swarm;

Creates a new libp2p swarm instance.

use tetsy_libp2p_swarm::Swarm; fn main() { let swarm = Swarm::new(); println!("Swarm created"); }
Debug
Known issues
gotchaRequires async runtime and transport configuration.
fix
Use with tokio and configure a transport like TCP.
affects: >=0.28.0
Upgrade
Version history
0.28.0latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
39 hits · last 30 days
node
36
Resources
tetsy-libp2p-swarm — cargo add tetsy-libp2p-swarm · libregistry