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
54
55
56
57
58
59
60
61
62
63
64
// Copyright (C) 2026 Francis Xavier Wazeter IV
// SPDX-License-Identifier: GPL-3.0-or-later
//
// This file is part of the Bistun Linguistic Metadata Service (LMS).
// See the LICENSE file in the workspace root for full license information.
//! # Shared Data Models (`DTO`s) & Foundation
//! **Crate**: `bistun-core`
//! **Ref**: `[011-LMS-DTO]`
//! **Domain**: `Delivery`
//! **Location**: `crates/bistun-core/src/lib.rs`
//!
//! **Why**: This crate serves as the authoritative central hub for the system's Data Transfer Objects (`DTO`s) and shared vocabulary. It flattens the internal module hierarchy to provide a clean, ergonomic Public `API` for all consuming crates and sidecars.
//! **Impact**: This module defines the contract layer of the entire Bistun ecosystem; any breaking changes here will instantly propagate across the service boundary, potentially corrupting serialization logic in all downstream `SDK`s.
//!
//! ### Architectural Topology
//! * **Tier**: `0`
//! * **Dependencies**: `serde`, `hashbrown`, `thiserror`
//! * **Consumers**: Downstream `UI` and `NLP` systems, `Delivery` layer microservices
//! * **State Model**: `Stateless`
//! * **Design Patterns**: `Re-export`
//!
//! ### Local Definitions
//! * **`Re-export`**: A technique to provide a more ergonomic `API` by exposing items from submodules at the root level.
//! * **`System of Record (SoR)`**: The authoritative data source for global language capabilities. Guarantees immutability and reproducibility through versioned snapshots.
// [`Persistence`] Domain: Opt-in for Engine and `Persistence` tools
// [`Operations`] Domain: Opt-in for Observability and `API` tools
// Testing Domain: Opt-in for `QA` and Simulation
// `Re-export` core `DTO` for ergonomic `API` usage
pub use ;
// `Re-export` the shared vocabulary (Updated for v2.0.0 Logic Provider)
pub use ;
// `Re-export` Errors
pub use LmsError;
// `Re-export` `Persistence` Models
pub use ;
// `Re-export` Operational Models
pub use ;
// Testing `Re-export`s
pub use *;