1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
//! The Builder layer.
//!
//! See `docs/design/DESIGN_BUILDER.md` for the doctrine this module
//! implements. Every submodule names the invariant it carries; the
//! doctrine grep-proofs at §10 of that document target individual
//! files in this directory.
//!
//! Foundation primitives (this commit):
//!
//! - [`canonical`] -- UTF-8 NFC + LF normalization (§4.4 #2, #3).
//! - [`toml_canon`] -- sole TOML emitter (Doctrine B1, §4.4 #4, §10.4).
//! - [`redact`] -- sole redactor (Doctrine B4, §10.5).
//! - [`ulid_gen`] -- ULID generation with stable timestamp semantics
//! (§4.4 #6).
//! - [`history`] -- `HistoryOp` enum + `append`, the sole writer of
//! `.rustio/history.jsonl` (Doctrine B3, §10.1).
//!
//! The [`cmd`] dispatchers translate `rustio` subcommands into
//! primitive calls. Items that surface only in tests or in unrealised
//! future verbs (e.g. `Undo`, the closed redaction category list)
//! are kept here behind a narrow `#[allow(dead_code)]` rather than
//! deleted -- they pin doctrine references and CI checks would
//! catch their loss.
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub
pub