Expand description
Diesel database adapters for RustAuth.
§Row decoding strategy
Chosen: dynamic row capture via [postgres::row::DieselPostgresRow], which
implements diesel::deserialize::QueryableByName by storing raw column bytes
and type OIDs at build time, then decoding through tokio_postgres [FromSql]
in the shared [SqlRowReader] boundary.
Direct diesel::row::NamedRow decoding remains available for feasibility tests
in [row].
§Adapter shape
- Crate name:
rustauth-diesel(async-only ondiesel-async; no sync adapter). - Initial backends: Postgres and MySQL (
postgres/mysqlfeatures). - SQLite and sync Diesel are deferred by design.