Registry / networking / tetsy-libp2p-core

tetsy-libp2p-core

JSON →
library0.27.2rscratesunverified

Core traits and structs of the libp2p networking stack.

# Cargo.toml [dependencies] tetsy-libp2p-core = "0.27.2"
INSTALL
IMPORT
SIG · TETSY-LIBP2P-CORE
T
tetsy-libp2p-core
networkingrustv0.27.2
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.

PeerId
use tetsy_libp2p_core::PeerId;

Generates a random PeerId for a libp2p node.

use tetsy_libp2p_core::PeerId; fn main() { let peer_id = PeerId::random(); println!("Peer ID: {}", peer_id); }
Debug
Known issues
gotchaThis is a fork of the original libp2p-core; may diverge from upstream.
fix
Consider using the official libp2p-core crate from the libp2p organization for compatibility.
affects: >=0.27.0
Upgrade
Version history
0.27.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
11 hits · last 30 days
node
10
OpenAI (training)
1
Resources
tetsy-libp2p-core — cargo add tetsy-libp2p-core · libregistry