diesel

A safe, extensible ORM and Query Builder for Rust

Latest version: 2.0.2 registry icon
Maintenance score
100
Safety score
100
Popularity score
100
Check your open source dependency risks. Get immediate insight about security, stability and licensing risks.
Security
  Vulnerabilities
Version Suggest Low Medium High
2.0.2 0 0 0 0
2.0.1 0 0 0 0
2.0.0 0 0 0 0
2.0.0-rc.1 0 0 0 0
2.0.0-rc.0 0 0 0 0
1.4.8 0 0 0 0
1.4.7 0 0 0 0
1.4.6 0 0 0 0
1.4.5 0 0 0 0
1.4.4 0 0 0 0
1.4.3 0 0 0 0
1.4.2 0 0 0 0
1.4.1 0 0 0 0
1.4.0 0 0 0 0
1.3.3 0 0 0 0
1.3.2 0 0 0 0
1.3.0 0 0 0 0
1.2.2 0 0 0 0
1.2.1 0 0 0 0
1.2.0 0 0 0 0
1.1.2 0 0 0 0
1.1.1 0 0 0 0
1.1.0 0 0 0 0
1.0.1 0 0 0 0
1.0.0 0 0 0 0
1.0.0-rc1 0 0 0 0
0.99.0 0 0 0 0
0.16.0 0 0 0 0
0.15.2 0 0 0 0
0.15.1 0 0 0 0
0.15.0 0 0 0 0
0.14.1 0 0 0 0
0.14.0 0 0 0 0
0.13.1 0 0 0 0
0.13.0 0 0 0 0
0.12.1 0 0 0 0
0.12.0 0 0 0 0
0.11.4 0 0 0 0
0.11.3 0 0 0 0
0.11.2 0 0 0 0
0.11.1 0 0 0 0
0.11.0 0 0 0 0
0.10.1 0 0 0 0
0.10.0 0 0 0 0
0.9.1 0 0 0 0
0.9.0 0 0 0 0
0.8.2 0 0 0 0
0.8.1 0 0 0 0
0.8.0 0 0 0 0
0.7.1 0 0 0 0
0.7.0 0 0 0 0
0.6.2 0 0 0 0
0.6.1 0 0 0 0
0.6.0 0 0 0 0
0.5.3 0 0 0 0
0.5.0 0 0 0 0
0.4.1 0 0 0 0
0.4.0 0 0 0 0
0.3.0 0 0 0 0
0.2.0 0 0 0 0
0.1.0 0 0 0 0

Stability
Latest release:

2.0.2 - this version is safe to use because it has no known security vulnerabilities at this time. Find out if your coding project uses this component and get notified of any reported security vulnerabilities with Meterian-X Open Source Security Platform

Licensing

Maintain your licence declarations and avoid unwanted licences to protect your IP the way you intended.

Apache-2.0   -   Apache License 2.0

Not a wildcard

Not proprietary

OSI Compliant


MIT   -   MIT License

Not a wildcard

Not proprietary

OSI Compliant



A safe, extensible ORM and Query Builder for Rust

Build Status Gitter Crates.io

API Documentation: latest releasemaster branch

Homepage

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."

Supported databases:

  1. PostgreSQL
  2. MySQL
  3. SQLite

You can configure the database backend in Cargo.toml:

[dependencies]
diesel = { version = "<version>", features = ["<postgres|mysql|sqlite>"] }

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, open a discussion on GitHub Discussions.

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.

License

Licensed under either of these:

Contributing

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.