Expand description
§Shared Data Models (DTOs) & Foundation
Crate: bistun-core
Ref: [011-LMS-DTO]
Location: crates/bistun-core/src/lib.rs
Why: This crate serves as the authoritative central hub for the system’s Data Transfer Objects (DTOs) 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 SDKs.
§Glossary
- Re-export: A technique to provide a more ergonomic API by exposing items from submodules at the root level.
- Contract Layer: The set of immutable data structures that define the communication protocol between the LMS engine and its clients.
Re-exports§
pub use manifest::CapabilityManifest;pub use manifest::TraitValue;pub use traits::CasingRule;pub use traits::Direction;pub use traits::LmsRule;pub use traits::MorphType;pub use traits::NormRule;pub use traits::PluralRule;pub use traits::SegType;pub use traits::TraitKey;pub use traits::TransRule;pub use error::LmsError;pub use registry::LocaleProfile;pub use registry::RegistryMetadata;pub use registry::RegistryStore;pub use registry::WormPayload;pub use ops::ResolutionMetrics;pub use ops::SdkState;pub use ops::SyncMetrics;pub use simulation::*;