Diesel CLI
Safe and performant database queries in Rust
Diesel is a safe and performant query builder and ORM written in Rust. It aims to eliminate security issues like SQL injections by providing a type safe domain specific language to express your SQL query as Rust code. This domain specific language enables checking the query at compile time to turn insecure or otherwise invalid SQL queries into compile time errors. Diesel supports the relational database systems SQLite, MySQL and PostgreSQL out of the box. Support for other database systems can be added by libraries built on top of Diesel.
The Diesel project provides a command line tool to simplify the development workflow of projects using Diesel as database library. This command line tool currently cannot be extended by others, which puts a large maintenance burden on the main project. As part of this project we want to develop an extension interface for the Diesel command line tool so that other projects can integrate seamlessly with the tool. This feature allows projects depending on Diesel to integrate support for other database systems with a similar developer experience than the database systems supported by the main project. The extension interface also unblocks other use-cases as it provides a way to consume information about the database schema in other ways than implemented by Diesel itself. Such a extension interface enables experimentation and the development of features rejected by the main project due to limited maintenance resources.
- The project's own website: https://diesel.rs/
This project was funded through the NGI0 Commons Fund, a fund established by NLnet with financial support from the European Commission's Next Generation Internet programme, under the aegis of DG Communications Networks, Content and Technology under grant agreement No 101135429. Additional funding is made available by the Swiss State Secretariat for Education, Research and Innovation (SERI).