Please check the build logs for more information.
See Builds for ideas on how to fix a failed build, or Metadata for how to configure docs.rs builds.
If you believe this is docs.rs' fault, open an issue.
triblespace-net
Distributed sync for triblespace piles over iroh:
gossip for branch HEAD announcements, a DHT for content discovery, direct
QUIC for bulk transfer. The user-visible surface is a single wrapper type,
Peer<S>, that makes any triblespace store also a node on a distributed
graph without changing how the storage traits look from outside.
Getting started
Most users should enable triblespace-net through the facade crate's
net feature rather than depending on this crate directly:
[]
= { = "0.35", = ["net"] }
use ;
let pile = open?;
let peer = new;
// From here it's just a triblespace store — commit, push, pull, query.
The full mental model, transport details, track / fetch primitives,
merge-flow, timestamp ordering, and CLI surface (trible pile net {identity, sync, pull}) live in the
Distributed Sync book
chapter.
Crate layout
peer—Peer<S>wrapper +pull_branch/track/fetch/list_remote_branches/head_of_remote/resolve_branch_nametracking— tracking branch management +merge_tracking_into_localprotocol— wire-format types and ALPNidentity—load_or_create_keyand signing-key handling
The host and channel modules are private implementation details of
Peer — the network thread spawned per Peer and the mpsc channels that
bridge it to the sync storage layer.