From 3edf37e157a51278f63037a2420c5afe975bf922 Mon Sep 17 00:00:00 2001 From: tv Date: Tue, 17 Nov 2026 12:25:13 +0000 Subject: registry: kartei's identifiers at places of their own, and the rules for krebs `federation::registry` spells what kartei's consumers read as one for all as places: a host's name in `.r` (and in `.i` where it is in `internet`), a user's, the names a host goes by, and the addresses, blocks and subnets of every net but `internet`, a `Subnet` in `tinc.extra` too (`name`, `address`, `asks`). The rules for krebs (`rules`) give a party its namespace, its names in `.r` and `.w`, and its user by its name, and each place kartei gives it beyond them by a rule of its own, made from kartei; what two parties ask for, or the rules give another, is named and given by no rule. --- src/federation/mod.rs | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'src/federation/mod.rs') diff --git a/src/federation/mod.rs b/src/federation/mod.rs index f7853e7..2f2efa9 100644 --- a/src/federation/mod.rs +++ b/src/federation/mod.rs @@ -1,7 +1,7 @@ //! A federation of parties that don't trust each other (`docs/federation.md`), on a store //! of events generic over what they read as (`docs/store.md`): what a node of a swarm -//! holding one reads from its document (`held`), forks made and checked (`fork`), and a -//! party's client (`client`, `party`). +//! holding one reads from its document (`held`), forks made and checked (`fork`), a +//! party's client (`client`, `party`), and the krebs registry on it (`registry`). //! Built stage by stage behind the `federation` feature. // Built stage by stage: parts of it are used by nothing yet, or by tests alone. @@ -23,6 +23,7 @@ mod model; pub(crate) mod party; #[cfg(test)] mod properties; +pub(crate) mod registry; pub(crate) mod store; #[cfg(test)] mod vectors; -- cgit v1.3.1