34 lines
685 B
Rust
34 lines
685 B
Rust
// Export the error module
|
|
pub mod error;
|
|
pub use error::{DbError, DbResult};
|
|
|
|
// Export the model module
|
|
pub mod model;
|
|
pub use model::{Model, Storable, IndexKey, GetId};
|
|
|
|
// Export the store module
|
|
pub mod store;
|
|
pub use store::{DbOperations, OurDbStore};
|
|
|
|
// Export the generic store module
|
|
pub mod generic_store;
|
|
pub use generic_store::GenericStore;
|
|
|
|
// Export the db module
|
|
pub mod db;
|
|
pub use db::{DB, DBBuilder, ModelRegistration, ModelRegistrar};
|
|
|
|
// Export the TST index module
|
|
pub mod tst_index;
|
|
pub use tst_index::TSTIndexManager;
|
|
|
|
// Export macros for model methods
|
|
pub mod macros;
|
|
|
|
// Export model-specific methods
|
|
pub mod model_methods;
|
|
|
|
// Tests
|
|
#[cfg(test)]
|
|
mod tests;
|