premix-orm-1.0.0 has been yanked.
Premix ORM
Premix ORM is a zero-overhead, type-safe ORM for Rust, designed for performance and developer experience.
This crate (premix) is a facade that re-exports the core logic and macros, providing a unified entry point for your application.
Installation
Add this to your Cargo.toml:
[]
= "1.0.0"
Quick Start
use Model;
use *; // If we add a prelude later
// ... usage
let user = find_by_id.await?;
Features
- Type-Safe Queries: Leverages
sqlxfor compile-time checked SQL execution. - Auto-Derive:
#[derive(Model)]handles all the boilerplate. - Performance: Zero-overhead abstraction over raw SQL queries.
- Multi-Database: Support for SQLite, Postgres, and MySQL.
License
This project is licensed under the MIT license.