db/herodb/src/lib.rs
2025-04-22 07:50:03 +04:00

20 lines
545 B
Rust

//! HeroDB: A database library built on top of ourdb with model support
//!
//! This library provides a simple interface for working with an ourdb-based database
//! and includes support for defining and working with data models.
// Core modules
pub mod db;
pub mod error;
pub mod models;
// Temporarily commented out due to compilation errors
// pub mod rhaiengine;
pub mod cmd;
// Re-exports
pub use error::Error;
pub use db::{DB, DBBuilder, Model, Storable, DbError, DbResult, GetId};
/// Re-export ourdb for advanced usage
pub use ourdb;