Expand description
§synth-core
Core domain models, traits, and distributions for synthetic accounting data generation.
This crate provides the foundational types used throughout the synthetic data factory:
- Journal Entry models (header and line items)
- Chart of Accounts structures
- SAP HANA ACDOCA/BSEG compatible event log formats
- Generator and Sink traits for extensibility
- Statistical distribution samplers based on empirical research
- Templates for realistic data generation (names, descriptions, references)
- Resource management (memory, disk, CPU) with graceful degradation
- Streaming infrastructure for real-time data generation
Re-exports§
pub use cpu_monitor::*;pub use degradation::*;pub use disk_guard::*;pub use distributions::*;pub use error::*;pub use memory_guard::*;pub use models::*;pub use rate_limit::*;pub use resource_guard::*;pub use streaming::*;pub use templates::*;pub use traits::*;pub use uuid_factory::*;
Modules§
- accounts
- Centralized GL account constants for consistent account mapping.
- cpu_
monitor - CPU load monitoring for preventing system overload.
- degradation
- Graceful degradation system for handling resource pressure.
- disk_
guard - Disk space management and guardrails for preventing disk exhaustion.
- distributions
- Statistical distribution samplers for realistic data generation.
- error
- Error types for the synthetic data generation system.
- memory_
guard - Memory management and guardrails for preventing OOM conditions.
- models
- Domain models for synthetic accounting data generation.
- rate_
limit - Rate limiting for controlling generation throughput.
- resource_
guard - Unified resource guard combining memory, disk, and CPU monitoring.
- streaming
- Streaming infrastructure for real-time data generation.
- templates
- Template system for realistic data generation.
- traits
- Core traits for generators, output sinks, and post-processors.
- uuid_
factory - Deterministic UUID generation factory for reproducible synthetic data.