opencrabs 0.5.11

The autonomous, self-improving AI agent. Single Rust binary. Every channel. Recommended: the 40MB prebuilt binary for macOS, Linux and Windows: https://github.com/opencrabs/opencrabs/releases
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
//! Database Layer
//!
//! Provides database connection management, models, and repositories.

pub(crate) mod database;
pub(crate) mod migration_heal;
pub(crate) mod migration_snapshot;
pub mod models;
pub mod repository;
pub mod retry;

pub use database::{
    Database, Pool, PoolExt, db_integrity_failed, db_integrity_failed_now, global_pool,
    interact_err,
};
pub use models::*;
pub use repository::*;
pub use retry::{DbRetryConfig, retry_db_anyhow, retry_db_operation, retry_db_rusqlite};