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
39
40
//! The shared vocabulary of the galata-vault protocol: string formats
//! (`gvk1_`, `gvt1_`, paths), the framing convention, API types,
//! descriptors, record contexts, proof-of-work and audit-chain hashing.
//!
//! **Implementation detail of galata-vault.** No semver guarantee beyond the
//! workspace version: applications depend on the `galata-vault` crate. The
//! formats this crate implements are specified in the repository's
//! `docs/spec/`, and their stability promise lives there, not in this API.
//!
//! **Every crate links this one, so it must never be able to decrypt.** It
//! holds no private key and depends on no cipher. What it can do (parse,
//! check a checksum, hash an audit row, verify a proof-of-work or an Ed25519
//! signature) the server needs too, and the server is the one binary that
//! must stay unable to read a secret.
//!
//! Non-test code never panics on its input: `unwrap`, `expect` and `panic!`
//! are denied outside `#[cfg(test)]`. Integration tests and benches are
//! separate crates, and
//! exempt.
pub use FormatError;