fts_core/lib.rs
1#![warn(missing_docs)]
2// Note: this overwrites the link in the README to point to the rust docs of the fts-sqlite crate.
3//! [fts_core]: https://docs.rs/fts_core/latest/fts_core/index.html
4//! [fts_server]: https://docs.rs/fts_server/latest/fts_server/index.html
5//! [fts_solver]: https://docs.rs/fts_solver/latest/fts_solver/index.html
6//! [fts_sqlite]: https://docs.rs/fts_sqlite/latest/fts_sqlite/index.html
7#![doc = include_str!("../README.md")]
8
9/// Core domain models for the flow trading system.
10///
11/// This module contains the fundamental data structures that represent the domain entities.
12///
13/// The models in this module are primarily data structures with minimal business logic,
14/// following the principles of the hexagonal architecture to separate domain entities
15/// from their persistence and processing implementations.
16pub mod models;
17
18/// Interface traits for the flow trading system.
19///
20/// This module contains the "ports" in the hexagonal architecture pattern.
21///
22/// These traits define the contract between the domain logic and external adapters
23/// (such as databases, APIs, or other services) without specifying implementation details.
24/// This separation allows for easier testing and the ability to swap out infrastructure
25/// components without affecting the core business logic.
26pub mod ports;