Overview

Version 0.3.0 Updated Jul 22, 2026

diesel-cte-ext adds two ergonomic layers on top of Diesel:

  • the RecursiveCTEExt trait, which exposes with_cte and with_recursive constructors on synchronous and async connection types, plus with_recursive_not_all for recursive UNION behaviour;
  • the Columns utilities that keep runtime column names aligned with Diesel's compile-time type metadata.

The crate works with SQLite and PostgreSQL backends out of the box. Enable the async feature when you need diesel_async connections.