macro diesel_derives

You should not use this crate directly, it is internal to Diesel

8 releases (5 stable)

1.4.0 Jan 21, 2019
1.3.0 May 22, 2018
1.2.0 Apr 6, 2018
1.1.0 Jan 15, 2018
0.99.0 Nov 28, 2017

#27 in Database interfaces

Download history 4365/week @ 2019-01-23 4912/week @ 2019-01-30 4847/week @ 2019-02-06 5121/week @ 2019-02-13 5150/week @ 2019-02-20 5872/week @ 2019-02-27 5544/week @ 2019-03-06 5597/week @ 2019-03-13 5735/week @ 2019-03-20 5584/week @ 2019-03-27 5957/week @ 2019-04-03 4810/week @ 2019-04-10 5170/week @ 2019-04-17 5384/week @ 2019-04-24 4900/week @ 2019-05-01

11,948 downloads per month
Used in 75 crates (4 directly)


1.5K SLoC

A safe, extensible ORM and Query Builder for Rust

Build Status Azure Pipeline Build Status Appveyor Build Status Gitter

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 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 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:


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.


~17K SLoC