| Crates.io | storeit |
| lib.rs | storeit |
| version | 0.1.7 |
| created_at | 2025-08-20 10:50:06.542846+00 |
| updated_at | 2025-08-28 08:38:02.918781+00 |
| description | Ergonomic repository facade over storeit_core with optional SQL builder and backend adapters |
| homepage | |
| repository | https://github.com/dahankzter/storeit-rs/ |
| max_upload_size | |
| id | 1803223 |
| size | 184,675 |
Facade crate for the storeit repository framework.
This crate re-exports the core traits and macros so you can get started with a single dependency and feature flags to choose your backend(s).
Key features:
#[derive(Entity)] and #[repository] macros (via storeit_macros)query-ext, batch-ext, stream-ext, upsert-extlibsql-backend (via storeit_libsql)postgres-backend (via storeit_tokio_postgres)mysql-async (via storeit_mysql_async)Quick taste (see workspace README for complete examples):
use storeit::{Entity, Repository};
#[derive(Entity, Clone, Debug)]
pub struct User {
#[fetch(id)]
pub id: Option<i64>,
pub email: String,
pub active: bool,
}
Links:
MSRV: 1.70 License: MIT OR Apache-2.0