Crates.io | libp2p-server |
lib.rs | libp2p-server |
version | 0.12.7 |
created_at | 2023-08-30 14:42:17.093607+00 |
updated_at | 2025-06-27 17:44:54.742427+00 |
description | A rust-libp2p server binary. |
homepage | |
repository | https://github.com/libp2p/rust-libp2p |
max_upload_size | |
id | 959003 |
size | 119,478 |
A rust-libp2p based server implementation running:
cargo run -- --help
A rust-libp2p server binary.
Usage: libp2p-server [OPTIONS] --config <CONFIG>
Options:
--config <CONFIG> Path to IPFS config file
--metrics-path <METRICS_PATH> Metric endpoint path [default: /metrics]
--enable-kademlia Whether to run the libp2p Kademlia protocol and join the IPFS DHT
--enable-autonat Whether to run the libp2p Autonat protocol
-h, --help Print help
cargo run -- --config ~/.ipfs/config
Local peer id: PeerId("12D3KooWSa1YEeQVSwvoqAMhwjKQ6kqZQckhWPb3RWEGV3sZGU6Z")
Listening on "/ip4/127.0.0.1/udp/4001/quic"
[...]