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-demo 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_demo]: https://docs.rs/fts_demo/latest/fts_demo/index.html
7#![doc = include_str!("../docs/workspace.md")]
8#![doc = include_str!("../README.md")]
9
10/// Core domain models for the flow trading system.
11///
12/// This module contains the fundamental data structures that represent the domain entities.
13///
14/// The models in this module are primarily data structures with minimal business logic,
15/// following the principles of the hexagonal architecture to separate domain entities
16/// from their persistence and processing implementations.
17pub mod models;
18
19/// Interface traits for the flow trading system.
20///
21/// This module contains the "ports" in the hexagonal architecture pattern.
22///
23/// These traits define the contract between the domain logic and external adapters
24/// (such as databases, APIs, or other services) without specifying implementation details.
25/// This separation allows for easier testing and the ability to swap out infrastructure
26/// components without affecting the core business logic.
27pub mod ports;