NGI Navigator (Prototype)

Diesel

A safe and performant query builder and ORM (Object-Relational Mapper) written in Rust for database interactions.

Product Information

Description
Diesel provides a robust toolkit for developers working with databases in Rust applications, combining the safety guarantees of the Rust language with efficient database operations. It functions as both a query builder, allowing for type-safe construction of SQL queries through a fluent API, and a full-featured ORM that maps database rows to Rust structs, eliminating common runtime errors. Key features include compile-time query verification to prevent SQL injection and schema mismatches, support for PostgreSQL, MySQL, and SQLite, and asynchronous operation capabilities for high-performance applications. Its primary use cases range from building secure backend services and data-intensive microservices to applications in the crypto and blockchain space where reliability and performance are critical. By leveraging Rust's ownership model and zero-cost abstractions, Diesel enables developers to write database interactions that are both fast and inherently safe from many classes of bugs.
Maintainer
diesel-rs company
License
Apache-2.0
Last Activity
2026-02-06

Linked NGI Projects

This product was created or improved through NGI-funded projects

Often Used Together

Products commonly used alongside Diesel

Community Discussion 3 comments

TH
Thomas Hansen 3 days ago

Lorem ipsum dolor sit amet, consectetur adipiscing elit. Praesent commodo cursus magna, vel scelerisque nisl consectetur et.

LM
Laura Martin 1 week ago

Nullam quis risus eget urna mollis ornare vel eu leo. Cras mattis consectetur purus sit amet fermentum.

PG
Paolo Gianetti 2 weeks ago

Maecenas sed diam eget risus varius blandit sit amet non magna. Integer posuere erat a ante venenatis dapibus posuere velit aliquet.