Re:SQLx – The Rust SQL Toolkit
by jchw on Monday July 28, 2025 @06:37PM
(#44716565)
The way I prefer to use sqlc is in combination with a schema migration framework like goose. It actually is able to read the migration files and infer the schema directly without needing an actual database. This seems to work well in production.
[ Parent
| on HN ]
That's how I'm using it as well (though I'm using some simple migration code instead of a framework): https://github.com/bbkane/enventory/tree/master/app/sqliteco...
I've been quite happy with this setup!