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
-
mysql_async
Tokio based asynchronous MySql client library.
-
postgres
A native, synchronous PostgreSQL client
-
redis
Redis driver for Rust.
-
rbatis
The Rust SQL Toolkit and ORM Library. An async, pure Rust SQL crate featuring compile-time Dynamic SQL
-
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.
-
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
-
sea-orm
🐚 An async & dynamic ORM for Rust
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
-
refinery
Powerful SQL migration toolkit for Rust
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!