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.1255/90d

Arangorsby fMeowArangoDB

An ArangoDB driver

arangors0.6.04.9k/90d updated 1y ago

135

cdrsby AlexPikalovCassandra

Native client

cdrs2.3.32.5k/90d archived

336

cassandra-rsCassandra

Bindings to the DataStax C/C++

3.0.2updated 1mo ago

145

cdrs-tokioby krojewCassandra

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

cdrs-tokio10.0.049.8k/90d updated 1mo ago

154

chillby chill-rsCouchDB

Client for the CouchDB REST API

chill0.3.053/90d updated 9y ago

37

dynomiteby softpropsDynamoDB

A library for strongly-typed and convenient interaction with rusoto_dynamodb

dynomite0.10.01.3k/90d updated 2y ago

221

rs-esby benashfordElasticsearch

Client for the Elastic REST API

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

218

elasticby elastic-rsElasticsearch

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

elastic0.20.103.8k/90d updated 6y ago

252

rust-etcdby jimmycuadraetcd

A client library for CoreOS's etcd.

etcd0.9.0598/90d updated 6y ago

145

leveldbby skadeLevelDB

LevelDB bindings

leveldb0.8.699.8k/90d updated 4y ago

188

heedby meilisearchLMDB

Fully typed LMDB wrappers with minimum overhead

heed0.23.13.3m/90d updated 24d ago

924

lmdb-rsby vhbitLMDB

Rust bindings for LMDB

lmdb-rs0.7.61.7k/90d updated 4y ago

113

Minigrafby project-minigrafNoSQL

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

minigraf2.0.123k/90d updated 1d ago

230

mongo-rust-driverby mongodbMongoDB

MongoDB bindings

mongodb3.10.25.3m/90d updated 3d ago

1.5k

MongrelDBby visorcraftMongrelDB

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

mongreldb-core0.67.21.6k/90d updated 5d ago

9

pickledb-rsby seladbPickleDB

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

pickledb0.5.1271.8k/90d updated 2y ago

270

PoloDBPoloDB

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

polodb5.3.033/90d updated 20d 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.

redb5.0.17.7m/90d updated 2d ago

5.1k

fredby aembkeRedis

A high level async Redis client for Rust with Tokio.

fred10.1.03.7m/90d updated 1y ago

530

redis-rsRedis

Redis library

redis1.8.341.1m/90d updated today

4.3k

rust-rocksdbRocksDB

RocksDB bindings

rocksdb0.25.08.6m/90d updated 17d ago

2.2k

surrealdbSurrealDB

SurrealDB embedded document-graph database

surrealdb4.0.2619.3k/90d updated today

33.4k

unqlite.rsby zitsenUnQLite

UnQLite bindings

unqlite1.5.0613/90d updated 6y ago

113

rust-zookeeperby bonifaidoZooKeeper

A client library for Apache ZooKeeper.

zookeeper0.8.012.1k/90d updated 2y ago

210

rust-zookeeperby krojewZooKeeper

Async Zookeeper client, based on tokio.

zookeeper-async5.0.016k/90d updated 5mo 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.037.2k/90d updated 4d ago

122

dieselby diesel-rsORM

An ORM and Query builder

diesel2.4.114.2m/90d updated today

14.3k

rustormby ivancerasORM

An ORM

rustorm0.20.01.4k/90d updated 5y ago

249

njordby njord-rsORM

โ›ต A versatile, feature-rich Rust ORM

njord0.5.019/90d updated 1y ago

407

rbatisORM

ORM Framework High Performance(JSON based)

rbatis4.9.1120.2k/90d updated 20d ago

2.5k

sea-ormby SeaQLORM

๐Ÿš An async & dynamic ORM

sea-orm2.0.46.8m/90d updated today

10k

seaographyby SeaQLORM

๐Ÿงญ GraphQL framework for SeaORM

seaography1.1.414.3k/90d updated 14d ago

538

taitan-ormby thegeniusORM

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

updated 1y ago

122

r2d2by sfackler

Generic connection pool

r2d20.8.1010.1m/90d updated 1mo ago

1.7k

sqlxby launchbadgeGeneric

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

sqlx0.9.166.1m/90d updated 1d ago

17.9k

sea-queryby SeaQLGeneric

๐Ÿ”ฑ A dynamic SQL query builder for MySQL, Postgres and SQLite

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

1.8k

sea-schemaby SeaQLGeneric

๐ŸŒฟ SQL schema definition and discovery

sea-schema0.18.15.8m/90d updated 5mo ago

233

tiberiusby prismaMicrosoft SQL

tiberius0.13.01.3m/90d updated 2mo ago

455

mysql-proxy-rsby AgilDataMySql

A MySQL Proxy

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

196

mysql_asyncby blackbeamMySql

Asynchronous Mysql driver based on Tokio.

mysql_async0.37.12.2m/90d updated 26d ago

420

rust-mysql-simpleby blackbeamMySql

A native MySql client

mysql28.0.41m/90d updated 1mo ago

695

rust-oracleby kuboOracle

Oracle driver

oracle0.6.31.1m/90d updated 1y ago

230

wtxby c410-f3rWebSocket

Fast implementation with a low set of external dependencies.

wtx0.52.14.9k/90d updated 1d ago

407

pg-walstreamby isdanielPostgreSql

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

pg_walstream0.11.029.8k/90d updated 3d ago

23

rust-postgresPostgreSql

A native PostgreSQL client

postgres0.19.156.9m/90d updated 1d ago

4k

rusqliteSqlite

Sqlite3 bindings

rusqlite0.43.075m/90d updated 1d ago

4.6k
V

VennDBby plabayo

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

venndb0.7.165.4k/90d updated 13d ago

200

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 Dec 4, 2026

ยฉ 2026 Crate Atlas

Esc

Type to search every entry. โ†‘โ†“ to move, Enter to open.