Built for Rust • Inspired by Prisma
3x faster than Diesel for simple filters

# Prax ORM

A next-generation, type-safe ORM for Rust with a beautiful schema language, powerful query builder, and first-class async support.

Get Started
View on GitHub

### Schema Definition

### Type-Safe Queries

## Why Prax?

Everything you need to build robust, scalable database applications in Rust.

### Type Safety

Catch errors at compile time with fully typed queries. No runtime surprises.

### Blazing Fast

1.7ns filter creation, 64-byte cache-friendly layout. 6x faster than Diesel for SQL building.

### Multi-Database

PostgreSQL, MySQL, SQLite, MongoDB, MSSQL, and DuckDB support.

### Beautiful Schema

Intuitive schema language inspired by Prisma. Easy to read and write.

### Migrations

Automatic schema diffing and migration generation. No manual SQL required.

### Raw SQL Escape

Full control when you need it with type-safe raw SQL queries.

### Multi-Tenancy

Zero-allocation tenant context, RLS integration, and sharded caching.

### Data Caching

In-memory LRU cache, Redis support, and tiered L1/L2 caching.

### Memory Profiling

Allocation tracking, leak detection, and CI integration.

## Simple Yet Powerful

From simple CRUD to complex queries with relations, Prax has you covered.

### Create with Relations

### Query with Filters

## Ready to Get Started?

Add Prax to your Rust project and start building type-safe database applications today.

Read the Docs