A safe, extensible ORM and Query Builder for Rust
Clone or download
Latest commit e2660a9 Sep 21, 2018
Failed to load latest commit information.
.github Please stop opening issues about Rust nightly May 25, 2018
bin Update to nightly-2018-07-17 Jul 18, 2018
diesel Merge pull request #1863 from weiznich/sg-nullable-timestamp Sep 21, 2018
diesel_cli Add `--verify-schema` to CLI, for use in CI and production Sep 18, 2018
diesel_compile_tests Refactor our handling of nested options Sep 12, 2018
diesel_derives Add first class support for newtypes in `Queryable` and `QueryableByN… Sep 12, 2018
diesel_migrations Fix some clippy errors/warnings Aug 8, 2018
diesel_tests Run rustfmt Sep 21, 2018
examples Bump clippy and compile_error nightly Aug 23, 2018
guide_drafts Fix typos and grammar; remove trailing whitespace Jun 16, 2018
migrations Remove the `Citext` type alias Sep 28, 2017
.appveyor.yml Fix appveyor build script May 23, 2018
.editorconfig Add .editorconfig, clippy config for good measure Feb 10, 2017
.env.sample Provide standard .env compatible with Docker usage Mar 19, 2017
.gitignore Remove ~ from .gitignore Jan 30, 2017
.travis.yml Bump clippy and compile_error nightly Aug 23, 2018
CHANGELOG.md Add `--verify-schema` to CLI, for use in CI and production Sep 18, 2018
CONTRIBUTING.md Remove reference to --no-clippy May 9, 2018
Cargo.toml Release v1.3.3 Sep 12, 2018
LICENSE-APACHE It's 2018 [ci skip] Jan 3, 2018
LICENSE-MIT It's 2018 [ci skip] Jan 3, 2018
README.md add link to discourse forum in the readme Aug 7, 2018
clippy.toml Make clippy happy Feb 16, 2017
code_of_conduct.md Convert other misc links to https Nov 4, 2017


A safe, extensible ORM and Query Builder for Rust

Build Status Appveyor Build Status Gitter Crates.io

API Documentation: latest releasemaster 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."

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, visit our discourse forum.

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:


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.