Registry / networking / libp2p-identity

libp2p-identity

JSON →
library0.2.13rscratesunverified

Data structures and algorithms for identifying peers in the libp2p network stack.

# Cargo.toml [dependencies] libp2p-identity = "0.2.13"
INSTALL
IMPORT
SIG · LIBP2P-IDENTITY
L
libp2p-identity
networkingrustv0.2.13
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_identity::PeerId;

Generate a random PeerId for a libp2p peer.

use libp2p_identity::PeerId; fn main() { let peer_id = PeerId::random(); println!("Random PeerId: {}", peer_id); }
Debug
Known issues

No known issues recorded.

Upgrade
Version history
0.2.13latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
6 hits · last 30 days
node
6
Resources
libp2p-identity — cargo add libp2p-identity · libregistry