Core traits and structs of libp2p
# Cargo.toml
[dependencies]
libp2p-core = "0.43.2"No compatibility data collected yet for this library.
Verified import paths — ran on the pinned version, not inferred.
Creates a random PeerId.
Add tokio as a dependency and use #[tokio::main] for async tasks.
No dependency data recorded yet.