aboutsummaryrefslogtreecommitdiffstats
path: root/Cargo.toml
diff options
context:
space:
mode:
authortv <tv@krebsco.de>2026-10-30 17:36:23 +0100
committertv <tv@krebsco.de>2026-10-30 17:36:23 +0100
commit8ae3d55e7f793ee6555de9eb40d675458e2e2fe1 (patch)
tree81d7307693956b4003a514133614cbc77e04973c /Cargo.toml
parent287c4e4832709ab4137e4786e593466390eadd53 (diff)
add links messages
Introduce two new wire messages, LINKS and LINKS_REPLY (swarm::links). A member answers with its links: for each peer, the transport, whether it’s relayed, the RTT, and whether it’s dormant. It answers members only, at most every 5 s. This bumps wire::VERSION to 7. Every build answers, with or without the feature, so every node needs this patch before the map shows anything beyond its own node.
Diffstat (limited to 'Cargo.toml')
-rw-r--r--Cargo.toml2
1 files changed, 2 insertions, 0 deletions
diff --git a/Cargo.toml b/Cargo.toml
index f1e7539..8bdb5af 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -7,6 +7,8 @@ edition = "2024"
# least one (`--features mycelium`, `--features libp2p,tor`, ...).
[features]
tokio-console = ["dep:console-subscriber"]
+# A dashboard of the node and a map of the swarm in the HTTP API (`/admin/dashboard`).
+dashboard = []
# The Mycelium transport (`--transports mycelium`, the default where built): through a
# Mycelium daemon's API, one it supervises or one running elsewhere.
mycelium = ["dep:reqwest", "dep:rustls", "dep:libc"]