Programming language: Rust
License: Apache License 2.0
Tags: Database     SQL     ORM     Postgresql     Postgres     Blockchain    
Latest version: v2.0.2

diesel alternatives and similar packages

Based on the "ORM" category.
Alternatively, view diesel alternatives based on common mentions on social networks and blogs.

Do you think we are missing an alternative of diesel or a related project?

Add another 'ORM' Package


A safe, extensible ORM and Query Builder for Rust

Build Status Gitter Crates.io

API Documentation: latest release โ€“ master branch


Diesel gets rid of the boilerplate for database interaction and eliminates runtime errors without sacrificing performance. It takes full advantage of Rust's type system to create a low overhead query builder that "feels like Rust."

Supported databases:

  1. PostgreSQL
  2. MySQL
  3. SQLite

You can configure the database backend in Cargo.toml:

diesel = { version = "<version>", features = ["<postgres|mysql|sqlite>"] }

Getting Started

Find our extensive Getting Started tutorial at https://diesel.rs/guides/getting-started. Guides on more specific features are coming soon.

Getting help

If you run into problems, Diesel has a very active Gitter room. You can come ask for help at gitter.im/diesel-rs/diesel. For help with longer questions and discussion about the future of Diesel, open a discussion on GitHub Discussions.

Code of conduct

Anyone who interacts with Diesel in any space, including but not limited to this GitHub repository, must follow our code of conduct.


Licensed under either of these:


Before contributing, please read the contributors guide for useful information about setting up Diesel locally, coding style and common abbreviations.

Unless you explicitly state otherwise, any contribution you intentionally submit for inclusion in the work, as defined in the Apache-2.0 license, shall be dual-licensed as above, without any additional terms or conditions.

*Note that all licence references and agreements mentioned in the diesel README section above are relevant to that project's source code only.