Registry / networking / fluence-fork-libp2p-core

fluence-fork-libp2p-core

JSON →
library0.27.2rscratesunverified

Core traits and structs of libp2p

# Cargo.toml [dependencies] fluence-fork-libp2p-core = "0.27.2"
INSTALL
IMPORT
SIG · FLUENCE-FORK-LIBP2
F
fluence-fork-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 libp2p_core::PeerId;

Generate a random PeerId

use libp2p_core::PeerId; fn main() { let peer_id = PeerId::random(); println!("Peer ID: {}", peer_id); }
Debug
Known issues
gotchaThis is a fork of libp2p-core, not the official crate
fix
Use official libp2p-core if possible
affects: >=0.27.0
Upgrade
Version history
0.27.2latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
5 hits · last 30 days
node
4
OpenAI (training)
1
Resources
fluence-fork-libp2p-core — cargo add fluence-fork-libp2p-core · libregistry