ff_core/lib.rs
1//! Core types, state enums, partition math, key builders, and error codes for FlowFabric.
2
3pub mod backend;
4pub mod completion_backend;
5pub mod contracts;
6pub mod engine_backend;
7pub mod engine_error;
8pub mod error;
9pub mod hash;
10pub mod keys;
11pub mod partition;
12pub mod policy;
13pub mod state;
14pub mod types;
15
16// Convenience re-export so consumers can write `ff_core::EngineError`.
17pub use engine_error::EngineError;
18// #88: backend-agnostic transport error carried across public
19// ff-sdk / ff-server surfaces. Kept alongside `EngineError` so
20// consumers can `use ff_core::{BackendError, BackendErrorKind}`.
21pub use engine_error::{BackendError, BackendErrorKind};
22// DX (HHH v0.3.4 re-smoke): re-export `ScannerFilter` at crate root
23// so consumers can write `ff_core::ScannerFilter` instead of the
24// longer `ff_core::backend::ScannerFilter` path.
25pub use backend::ScannerFilter;