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
41
42
//! The published contract of the embedded MADE.
//!
//! This crate is what a consuming product is allowed to know. It holds plain
//! views, a capability report, an error vocabulary and one trait — and no
//! domain types, no adapters, no storage. A consumer that compiles against this
//! crate alone can be tested with a stub and swapped onto any implementation
//! that honours the same contract.
//!
//! Versioned deliberately. [`CONTRACT_VERSION`] moves when the meaning of this
//! surface changes, independently of the library's own release number: two
//! builds of the same release can differ in features, and a consumer that
//! guessed capabilities from a version string would find out mid-run. Consumers
//! check [`ApiCapabilities`] at startup instead.
//!
//! Vocabulary note (ADR-001): these types speak the engine's own language —
//! ceremonies. A consuming product maps them to its own terms at its own
//! boundary; nothing of that product's vocabulary appears here.
pub use ApiCapabilities;
pub use ApiError;
pub use ;
pub use CeremonyEngineApi;
pub use ;
pub use ;
pub use StartCeremonyRequest;
/// The revision of this contract.
///
/// Moves on meaning, not on release: adding a capability keeps the version,
/// changing what an existing field or method means raises it.
pub const CONTRACT_VERSION: u32 = 3;