force_sync/lib.rs
1//! Correctness-first bidirectional Salesforce and Postgres sync engine.
2
3#![forbid(unsafe_code)]
4#![warn(missing_docs)]
5
6/// Apply lanes for target systems.
7pub mod apply;
8/// Capture workers for source systems.
9pub mod capture;
10/// Object-level sync configuration and conflict policy types.
11pub mod config;
12/// Error types for force-sync.
13pub mod error;
14/// Canonical identity types for synced records.
15pub mod identity;
16/// Change envelope and cursor types for sync events.
17pub mod model;
18/// Pure planner and merge logic for sync envelopes.
19pub mod plan;
20/// Reconciliation helpers for drift detection and repair.
21pub mod reconcile;
22/// Explicit runtime orchestration for the v0.1 vertical slice.
23pub mod runtime;
24/// Storage backends and migration helpers.
25pub mod store;
26
27/// Returns the crate version for smoke tests and runtime diagnostics.
28#[must_use]
29pub const fn version() -> &'static str {
30 env!("CARGO_PKG_VERSION")
31}