aboutsummaryrefslogtreecommitdiffstats
path: root/src/main.rs
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-28 05:12:10 +0100
committertv <tv@krebsco.de>2026-10-28 05:12:10 +0100
commit5ff1a6b5e5a42965e6b427f5e543e93019ab4547 (patch)
tree5b3301332c0fc40544165c727af7f8d88883561a /src/main.rs
parent680a4eacf656d40c9c0ee5f9a246b5b947462c59 (diff)
rename transport::p2p to transport::libp2p
Diffstat (limited to 'src/main.rs')
-rw-r--r--src/main.rs7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/main.rs b/src/main.rs
index a95d764..708e43d 100644
--- a/src/main.rs
+++ b/src/main.rs
@@ -208,11 +208,12 @@ async fn main() -> Result<()> {
.with_context(|| format!("libp2p-relays {address:?}"))
})
.collect::<Result<Vec<_>>>()?;
- let key = transport::p2p::Libp2pConfig::load_key(args.libp2p_key_file.as_deref())?;
+ let key =
+ transport::libp2p::Libp2pConfig::load_key(args.libp2p_key_file.as_deref())?;
(
"libp2p",
- Arc::new(transport::p2p::Libp2pTransport::start(
- transport::p2p::Libp2pConfig {
+ Arc::new(transport::libp2p::Libp2pTransport::start(
+ transport::libp2p::Libp2pConfig {
key,
listen,
announce,