diff options
| author | tv <tv@krebsco.de> | 2026-11-17 12:25:13 +0000 |
|---|---|---|
| committer | tv <tv@krebsco.de> | 2026-11-17 13:57:19 +0100 |
| commit | 3edf37e157a51278f63037a2420c5afe975bf922 (patch) | |
| tree | 33301a2b6b38be555673c2a3046dcf83bae9a786 /src/federation/mod.rs | |
| parent | 3d6197103820e38864e721b8850d502bacdb2dac (diff) | |
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.
Diffstat (limited to 'src/federation/mod.rs')
| -rw-r--r-- | src/federation/mod.rs | 5 |
1 files changed, 3 insertions, 2 deletions
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; |
