From 117b2406bd5d9812943921c25e019c96a1558b48 Mon Sep 17 00:00:00 2001 From: tv Date: Sat, 31 Oct 2026 05:18:43 +0100 Subject: talk about all transports not just mycelium --- src/config/mod.rs | 4 ++-- src/main.rs | 3 ++- 2 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/config/mod.rs b/src/config/mod.rs index 4afb0bb..d737124 100644 --- a/src/config/mod.rs +++ b/src/config/mod.rs @@ -135,7 +135,7 @@ pub(crate) const OPTIONS: &[OptionSpec] = &[ Kind::List, "STRING,[STRING...]", None, - "How to reach a node of the swarm to join: its address (`mycelium:`, as GET /admin/stats lists it), a Mycelium public key, a Mycelium IPv6 address, or a host name with an AAAA record for one. A node keeps trying until it has joined.", + "How to reach a node of the swarm to join: its address, as GET /admin/stats lists it (`mycelium:`, `libp2p:`, `libp2p:/p2p/` (where it is known, or through a relay), `tor:.onion:`); or, for Mycelium, a public key, an IPv6 address, or a host name with an AAAA record for one. A node keeps trying until it has joined.", ), option( "genesis", @@ -1057,7 +1057,7 @@ const UNSET: &str = "unset"; fn command() -> Command { let mut command = Command::new("continuum") .version(env!("CARGO_PKG_VERSION")) - .about("continuum: a replicated key-value store over Mycelium") + .about("continuum: a replicated key-value store over Mycelium, libp2p or Tor") .after_help( "Every option can also be set in a configuration file (--config); arguments win.\n\ A value can be imported instead of written out: env:NAME, file:PATH or cmd:COMMAND \ diff --git a/src/main.rs b/src/main.rs index d7c28a2..5e936dd 100644 --- a/src/main.rs +++ b/src/main.rs @@ -1,4 +1,5 @@ -//! continuum: a replicated Automerge key-value store synchronized over Mycelium. +//! continuum: a replicated Automerge key-value store, synchronized over Mycelium, +//! libp2p or Tor. //! //! main.rs only wires things together: arguments, the starting document, the node //! (`node`), bootstrap and the HTTP server. -- cgit v1.3.1