macro diesel_derives

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

7 releases (4 stable)

1.3.0 May 22, 2018
1.2.0 Apr 6, 2018
1.1.0 Jan 15, 2018
1.0.0-rc1 Dec 23, 2017
0.99.0 Nov 28, 2017

#4 in Database interfaces

Download history 2091/week @ 2018-05-27 2533/week @ 2018-06-03 2431/week @ 2018-06-10 1987/week @ 2018-06-17 2213/week @ 2018-06-24 2439/week @ 2018-07-01 2489/week @ 2018-07-08 3057/week @ 2018-07-15 2871/week @ 2018-07-22 2666/week @ 2018-07-29 3324/week @ 2018-08-05 2677/week @ 2018-08-12 2430/week @ 2018-08-19

7,276 downloads per month
Used in 39 crates (2 directly)


1.5K SLoC

A safe, extensible ORM and Query Builder for Rust

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

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.


~26K SLoC