# Diesel

Safe, extensible ORM and query builder for Rust.


Source: https://findsoftware.frbit.cloud/diesel/
Last reviewed: 2026-11-04
Listed since: 2026-11-04

## Record

### Links

- home: https://diesel.rs
- repository: https://github.com/diesel-rs/diesel
- docs: https://diesel.rs/guides/getting-started
- forum: https://github.com/diesel-rs/diesel/discussions

### Identity

- status: active
- maintainer: The Diesel Core Team
- maintainerType: community
- parent: unknown
- firstRelease: 2015
- hqCountry: unknown

### Kind

- category: library
- hosting: binary
- language: rust
- runtime: binary
- runtimeMin: unknown
- basedOn: unknown

### Content

- contentStore: not applicable
- databases: postgres, mysql, sqlite, mariadb
- adminUi: not applicable
- headlessApi: not applicable
- templating: not applicable
- i18n: not applicable

### Rendering and deploy

- runsAs: not applicable
- renderingModes: not applicable
- installMethod: cargo dependency

### License

- licenseModel: open-source
- license: MIT, Apache-2.0

### Releases

- currentMajor: 2
- latestReleaseDate: 2026-10-07

### Adoption

- githubStargazers: 14222
- packagistDownloads: not applicable
- npmWeeklyDownloads: not applicable
- contributors: 394
- pluginCount: unknown
- packagistMonthlyDownloads: unknown
- ecosystemsMonthlyDownloads: unknown
- httpArchiveSites: unknown
- wordpressActiveInstalls: unknown
- dependentRepos: unknown
- dependentPackages: unknown

### Sources

- urls: https://diesel.rs (read 2026-11-04)
- urls: https://api.github.com/repos/diesel-rs/diesel (read 2026-11-04)
- urls: https://diesel.rs/guides/getting-started (read 2026-11-04)
- firstRelease: https://crates.io/api/v1/crates/diesel/versions (read 2026-11-04)
- maintainer: https://diesel.rs (read 2026-11-04)
- category: https://github.com/diesel-rs/diesel/blob/master/README.md (read 2026-11-04)
- language: https://api.github.com/repos/diesel-rs/diesel (read 2026-11-04)
- runtime: https://github.com/diesel-rs/diesel/blob/master/README.md (read 2026-11-04)
- databases: https://github.com/diesel-rs/diesel/blob/master/README.md (read 2026-11-04)
- installMethod: https://github.com/diesel-rs/diesel/blob/master/README.md (read 2026-11-04)
- installMethod: https://diesel.rs/guides/getting-started (read 2026-11-04)
- installMethod: https://diesel.rs/guides/getting-started (read 2026-11-04)
- installMethod: https://diesel.rs/guides/getting-started (read 2026-11-04)
- license: https://github.com/diesel-rs/diesel/blob/master/README.md (read 2026-11-04)
- license: https://github.com/diesel-rs/diesel/blob/master/README.md (read 2026-11-04)
- currentMajor: https://api.github.com/repos/diesel-rs/diesel/releases/latest (read 2026-11-04)
- latestReleaseDate: https://api.github.com/repos/diesel-rs/diesel/releases/latest (read 2026-11-04)
- githubStargazers: https://api.github.com/repos/diesel-rs/diesel (read 2026-11-04)
- contributors: https://api.github.com/repos/diesel-rs/diesel/contributors (read 2026-11-04)

## Notes

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](https://github.com/diesel-rs/diesel/blob/master/README.md) 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](https://diesel.rs/guides/getting-started) walks through a project set up for each supported database.

---

Data licensed CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/). Attributes are recorded, never scored; absent means unknown.
Credit, in full: FindSoftware, CC BY 4.0
