20 lines
545 B
Rust
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;
|