Diesel
Safe, extensible ORM and query builder for Rust.
Diesel is an ORM and query builder for Rust. It maps database rows to Rust structs, generates the mapping code from derive attributes and builds queries through a typed API. The crate is published on crates.io as diesel and is added to a project’s Cargo.toml with a feature for the database it uses, as the README describes. The Diesel Core Team maintains it.
The CLI tool that helps manage a project is a separate binary, installed with cargo, and the getting started guide walks through a project set up for each supported database.
Identity
Rendering and deploy
Releases
Adoption
Sources
- 2026-11-04: links, Maintainer
diesel.rs - 2026-11-04: links, Written in, GitHub stars
api.github.com/repos/diesel-rs/diesel - 2026-11-04: links, Install with
diesel.rs/guides/getting-started - 2026-11-04: First release
crates.io/api/v1/crates/diesel/versions - 2026-11-04: Categories, Runtime, Databases, Install with, License
github.com/diesel-rs/diesel/blob/master/README.md - 2026-11-04: Current major version, Last release
api.github.com/repos/diesel-rs/diesel/releases/latest - 2026-11-04: Contributors
api.github.com/repos/diesel-rs/diesel/contributors