Posted on

SQLx 0.9 will have a sqlx.toml format that can specify DB connections. It was merged a while ago but isn't released yet. It was nice for updating calibre-metadata-api to have multiple sqlite DBs (PG example, one for Calibre and one for Calibre-Web. Without this support the builds with 2 databases would fail for any query_as! macros connecting to the incorrect DB.

Filed under: sqlx rust calibre-metadata-api
Comment or reply by webmention.