Database

49 projects

This category covers libraries for talking to databases from Rust: drivers, query builders, ORMs and connection pools. The three most common choices are SQLx, Diesel and SeaORM. SQLx is not an ORM. You write plain SQL, and its macros check queries against a real database at compile time, with an offline mode for CI. Diesel is a synchronous ORM and query builder whose schema file lets the compiler catch type mismatches. SeaORM is an async ORM built on SQLx and the SeaQuery builder.

For a single database, the dedicated drivers are often enough: rust-postgres (and its tokio-postgres half), rusqlite for SQLite, mysql_async and rust-mysql-simple for MySQL, tiberius for SQL Server, the official MongoDB driver, and redis-rs or fred for Redis. Embedded key-value stores include redb, written in pure Rust, heed for LMDB, and rust-rocksdb bindings. r2d2 provides a generic connection pool for synchronous code.

Pick SQLx if you like writing SQL and want async. Pick Diesel if you want the strongest compile-time guarantees and can work with its sync API or the separate diesel-async crate. Pick SeaORM for an ActiveRecord-style async ORM with migrations. Databases that are themselves written in Rust, such as TiKV or Qdrant, are listed separately under Databases.

A

AragogArangoDB

A Lightweight ArangoDB Object document, relational and graph mapper

aragog0.17.1305/90d

Arangorsby fMeowArangoDB

An ArangoDB driver

arangors0.6.05.1k/90d updated 12mo ago

135

cdrsby AlexPikalovCassandra

Native client

cdrs2.3.32.5k/90d archived

338

cassandra-rsCassandra

Bindings to the DataStax C/C++

3.0.2updated 2y ago

144

cdrs-tokioby krojewCassandra

High-level async Cassandra client written in 100% Rust.

cdrs-tokio9.0.238.8k/90d updated 3mo ago

154

chillby chill-rsCouchDB

Client for the CouchDB REST API

chill0.3.069/90d updated 9y ago

37

dynomiteby softpropsDynamoDB

A library for strongly-typed and convenient interaction with rusoto_dynamodb

dynomite0.10.01.4k/90d updated 2y ago

221

rs-esby benashfordElasticsearch

Client for the Elastic REST API

rs-es0.12.3252/90d updated 6y ago

218

elasticby elastic-rsElasticsearch

Elastic is an efficient, modular API client for Elasticsearch written in Rust

elastic0.20.103.6k/90d updated 6y ago

252

rust-etcdby jimmycuadraetcd

A client library for CoreOS's etcd.

etcd0.9.0531/90d updated 6y ago

145

leveldbby skadeLevelDB

LevelDB bindings

leveldb0.8.6129.5k/90d updated 4y ago

188

heedby meilisearchLMDB

Fully typed LMDB wrappers with minimum overhead

heed0.22.12.7m/90d updated today

921

lmdb-rsby vhbitLMDB

Rust bindings for LMDB

lmdb-rs0.7.61.2k/90d updated 3y ago

113

Minigrafby project-minigrafNoSQL

Zero-config, single-file, embedded graph database with bi-temporal Datalog queries

minigraf2.0.81.6k/90d updated today

210

mongo-rust-driverby mongodbMongoDB

MongoDB bindings

mongodb3.9.15.1m/90d updated today

1.5k

MongrelDBby visorcraftMongrelDB

An embedded columnar database engine with SQL, vector search, full-text search, and AI-native retrieval

mongreldb-core0.64.181.5k/90d updated 18d ago

8

pickledb-rsby seladbPickleDB

A lightweight and simple key-value store, heavily inspired by Python's PickleDB.

pickledb0.5.1285.8k/90d updated 2y ago

270

PoloDBPoloDB

An embedded JSON-based database has API similar to MongoDB.

polodb5.3.054/90d updated 8d ago

1.2k

Redbby cbernerRedb

An embedded key-value database. It provides a similar interface to other embedded key-value stores such as rocksdb and lmdb.

redb4.4.06.1m/90d updated 3d ago

4.9k

fredby aembkeRedis

A high level async Redis client for Rust with Tokio.

fred10.1.02.5m/90d updated 1y ago

534

redis-rsRedis

Redis library

redis1.7.130.7m/90d updated today

4.3k

rust-rocksdbRocksDB

RocksDB bindings

rocksdb0.25.07.3m/90d updated 2mo ago

2.2k

surrealdbSurrealDB

SurrealDB embedded document-graph database

surrealdb3.3.4566k/90d updated 1d ago

33.2k

unqlite.rsby zitsenUnQLite

UnQLite bindings

unqlite1.5.0544/90d updated 5y ago

113

rust-zookeeperby bonifaidoZooKeeper

A client library for Apache ZooKeeper.

zookeeper0.8.08.8k/90d updated 2y ago

209

rust-zookeeperby krojewZooKeeper

Async Zookeeper client, based on tokio.

zookeeper-async5.0.012k/90d updated 3mo ago

23

diesel-guardby ayarotskyORM

A linter for Diesel and SQLx that catches dangerous PostgreSQL migrations (table locks, rewrites, blocking ops) and suggests safe alternatives

diesel-guard0.12.040.7k/90d updated today

120

dieselby diesel-rsORM

An ORM and Query builder

diesel2.3.149.7m/90d updated today

14.2k

rustormby ivancerasORM

An ORM

rustorm0.20.0995/90d updated 5y ago

249

njordby njord-rsORM

⛵ A versatile, feature-rich Rust ORM

njord0.5.011/90d updated 11mo ago

407

rbatisORM

ORM Framework High Performance(JSON based)

rbatis4.9.816.5k/90d updated 6d ago

2.5k

sea-ormby SeaQLORM

🐚 An async & dynamic ORM

sea-orm2.0.45m/90d updated 8d ago

9.9k

seaographyby SeaQLORM

🧭 GraphQL framework for SeaORM

seaography1.1.412.7k/90d updated 4mo ago

535

taitan-ormby thegeniusORM

The State of Art ORM for Rust, Async & Compile Time Generation.

updated 1y ago

123

r2d2by sfackler

Generic connection pool

r2d20.8.108.1m/90d updated 2y ago

1.7k

sqlxby launchbadgeGeneric

Async PostgreSQL/MySQL/SQLite connection pool with strong typing support

sqlx0.9.047.9m/90d updated 5d ago

17.6k

sea-queryby SeaQLGeneric

🔱 A dynamic SQL query builder for MySQL, Postgres and SQLite

sea-query1.0.25.9m/90d updated 7d ago

1.8k

sea-schemaby SeaQLGeneric

🌿 SQL schema definition and discovery

sea-schema0.18.13.8m/90d updated 3mo ago

231

tiberiusby prismaMicrosoft SQL

tiberius0.13.0836k/90d updated 26d ago

446

mysql-proxy-rsby AgilDataMySql

A MySQL Proxy

mysql-proxy0.2.143/90d updated 10y ago

195

mysql_asyncby blackbeamMySql

Asynchronous Mysql driver based on Tokio.

mysql_async0.37.11.7m/90d updated 26d ago

417

rust-mysql-simpleby blackbeamMySql

A native MySql client

mysql28.0.4806.6k/90d updated 4d ago

693

rust-oracleby kuboOracle

Oracle driver

oracle0.6.31.1m/90d updated 1y ago

229

wtxby c410-f3rWebSocket

Fast implementation with a low set of external dependencies.

wtx0.52.14.3k/90d updated today

405

pg-walstreamby isdanielPostgreSql

High-performance async CDC (Change Data Capture) library for PostgreSQL logical and physical replication streaming.

pg_walstream0.9.024.5k/90d updated 1d ago

22

rust-postgresPostgreSql

A native PostgreSQL client

postgres0.19.144m/90d updated 18d ago

4k

rusqliteSqlite

Sqlite3 bindings

rusqlite0.40.246.4m/90d updated 2d ago

4.4k
V

VennDBby plabayo

An append-only in-memory database in Rust for rows queried using bit (flag) columns.

venndb0.6.171.4k/90d updated 11mo ago

143

Built on the open rust-unofficial/awesome-rust list by its contributors, licensed CC0 1.0. Crate Atlas is an independent project, not affiliated with the list's maintainers.

About Synced Oct 21, 2026

© 2026 Crate Atlas

Esc

Type to search every entry. ↑↓ to move, Enter to open.