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
43
44
45
46
47
48
49
50
51
52
53
//! SkilJ's domain engine.
//!
//! This crate implements the behaviour specified in
//! [`specs/skilj.allium`](https://github.com/gklijs/SkilJ/blob/main/specs/skilj.allium) -
//! entities, rules, invariants, and the plugin API a consuming application
//! writes its own bounded-context logic against. It has no web-framework
//! dependency; `skilj-graphql` and `skilj-rest` each depend on this crate,
//! not the other way round.
//!
//! Modules are grouped by domain concern, not by the spec's own section
//! order (Value Types / Entities / Rules / ...) - see
//! [docs/architecture.md](https://github.com/gklijs/SkilJ/blob/main/docs/architecture.md)
//! §3.2 for the reasoning and the full module map. Most applications want
//! the `skilj` crate, whose docs have a quickstart.
//!
//! `db`, `command_batcher`, `cross_instance`, `event_cache`,
//! `template_cache` and `slow_command` are `#[doc(hidden)]`: public only
//! because `skilj`, `skilj-graphql`, `skilj-rest` and the tools call
//! them, and not covered by the patch-release compatibility promise
//! (docs/architecture.md §220). Go through `skilj` instead.
// Every public item outside the hidden modules is documented; CI fails on
// a gap (`-D warnings`).
pub use Error;