Database
Proper Database support is crucial for modern web development. This page gives an overview of the various drivers, ORMs, integrations and tools.
Drivers
-
mysql
Mysql client library implemented in rust
-
couchbase
The official Couchbase Rust SDK.
-
mysql_async
Tokio based asynchronous MySql client library.
-
postgres
A native, synchronous PostgreSQL client
-
redis
Redis driver for Rust.
-
darkredis
Async Redis client using std::future
-
rusqlite
Ergonomic wrapper for SQLite
-
tokio-postgres
A native, asynchronous PostgreSQL client
-
leveldb
An interface for leveldb
-
rocksdb
Rust wrapper for Facebook's RocksDB embeddable database
-
sled
Lightweight high-performance pure-rust transactional embedded database.
-
influx_db_client
InfluxDB Rust driver
-
cassandra-cpp
A Cassandra CQL driver, built on top of the DataStax C++ driver for performance and functionality.
-
cdrs
Cassandra DB driver written in Rust
-
memcache
memcached client for rust
-
mongodb
The official MongoDB driver for Rust
-
sqlx
🧰 The Rust SQL Toolkit. An async, pure Rust SQL crate featuring compile-time checked queries without a DSL. Supports PostgreSQL, MySQL, and SQLite.
ORMs
-
diesel
A safe, extensible ORM and Query Builder for PostgreSQL, SQLite, and MySQL
-
quaint
An abstraction layer for SQL databases.
-
rustorm
A complete rewrite of rustorm
-
tql
Compile-time ORM (runtime library)
Connection pools
-
mobc
A generic connection pool with async/await support
-
deadpool
Dead simple async pool
-
bb8
Full-featured async (tokio-based) connection pool (like r2d2)
-
r2d2
A generic connection pool
Tooling
-
diesel_migrations
Migration management for diesel
-
migrant
CLI Database migration management for postgres, sqlite, mysql
-
refinery
Powerful SQL migration toolkit for Rust
Upcoming
The following crates look awesome! But they have not yet reached maturity.- Oxidizer
A Rust ORM based on tokio-postgres and refinery
Do you know something we don't?
Did we miss an important crate? Or maybe you just recently launched something that should be listed here, too? Let us know!