An in-memory embedded database with persistence and multiple adapters (JSON, CSV, etc). Acts like a minimalistic ORM with zero setup. Simple, lightweight, and perfect for prototypes, small apps, or experiments.
useserde::{Deserialize, Serialize};usestd::fmt::Debug;/// An identifiable model that can be stored in a database.
pubtraitModel: Clone + Serialize + for<'de> Deserialize<'de> {typeId: Debug +Clone+Eq;fnid(&self)->&Self::Id;fnmodel_name()->&'staticstr;}