#5223·diesel

Fuzzing Diesel DSL

Author: weiznichCreated Sep 18, 2026Updated Sep 18, 2026
Labelsenhancementhelp wantedsqlitemysqlpostgres

Diesel provides a compile time safe DSL to express SQL. We would like to make sure that it is not possible to construct code that compiles but results in an invalid SQL query. Ideally we would like to have a fuzzer setup for this, although that looks like a non-trivial problem.

We would basically need something that takes a syntactically correct, but semantically incorrect SQL query, turns that into a minimal diesel DSL snippet and verifies that this doesn't compile

This likely needs to cover the different backends