Skip to main content

mongreldb_kit/
lib.rs

1//! Storage-backed MongrelDB Kit crate.
2//!
3//! This crate wraps MongrelDB core with the kit schema model, transaction
4//! semantics, query execution, and migration runner.
5
6pub mod db;
7pub mod error;
8pub(crate) mod internal;
9pub mod migrate;
10pub mod pushdown;
11pub mod query;
12#[cfg(feature = "remote")]
13pub mod remote;
14pub mod schema;
15pub mod tsv;
16pub mod txn;
17
18pub use db::{
19    ApproxAggKind, ApproxAggregate, Database, ExplainPlan, IncrementalAggKind,
20    IncrementalAggregate, SimilarRow,
21};
22pub use error::{KitError, Result};
23pub use migrate::migrate;
24pub use query::JoinRow;
25#[cfg(feature = "remote")]
26pub use remote::{RemoteBatch, RemoteDatabase, RemoteOpResult, RemoteTransaction};
27pub use schema::Row;
28pub use txn::Transaction;
29
30// Re-export the core model so downstream consumers can depend on a single crate.
31pub use mongreldb_kit_core::*;