Skip to main content

oversync_core/
lib.rs

1//! Core types, traits, config, and errors for the oversync data sync engine.
2//!
3//! This crate is dependency-light and imported by every other `oversync-*`
4//! crate. It avoids heavy runtime dependencies so it compiles fast.
5
6pub mod config;
7pub mod error;
8pub mod model;
9pub mod surreal_url;
10pub mod table_names;
11pub mod traits;
12
13pub use config::OversyncConfig;
14pub use error::OversyncError;
15pub use model::{
16	AuthConfig, CycleStatus, DeltaEvent, DeltaResult, EventEnvelope, EventMeta, KafkaAuth, OpType,
17	RawRow, compute_diff, hash_rows,
18};
19pub use surreal_url::runtime_surreal_url;
20pub use table_names::TableNames;
21pub use traits::{
22	OriginConnector, OriginFactory, Sink, TargetFactory, TransformHook, TransformPipeline,
23};