polyphony-chat / chorus

A Rust library for interacting with multiple Polyphony- and Spacebar-Compatible instances at once.
https://crates.io/crates/chorus
Mozilla Public License 2.0
17 stars 7 forks source link

`sqlx` improvements #541

Closed bitfl0wer closed 2 months ago

bitfl0wer commented 2 months ago

The sqlx had some API changes from version 0.7.4 (which we currently use as a dependency in chorus) to the latest version 0.8.0.

Also, we currently only implement sqlx::MySql versions of sqlx::Encode and sqlx::Decode. This should be changed to sqlx::Any, to give chorus users a choice in which database backend they would like to use, instead of locking them (and us) to MySql/MariaDB.