tabby/ee/tabby-webserver/src
Clément Joly e9d78233a0 chore: update rusqlite, rusqlite_migration and tokio-rusqlite (#1017)
I’ve released a new beta version of rusqlite_migration today and I’ve
renamed the `async-tokio-rusqlite` feature that you use to
`alpha-async-tokio-rusqlite`. I suggest updating dependencies as done in
this PR. By the way, if you would like to share feedback on the async
APIs, feel free to use this conversation:
https://github.com/cljoly/rusqlite_migration/discussions/127

Reading the release notes from [tokio-rusqlite][1], the main breaking
change is to the method `Connection::call`:

> - **breaking:** `Connection::call` now takes `tokio_rusqlite::Result` instead
>   of `rusqlite::Result`.

My understanding is that we can either deal with a `Result<Result<…>>`
or call `Connection::call_unwrap`, which could panic if the connection
is closed. I’ve opted for using only `Connection::call` and,
effectively, flattening the `Result<Result<…>>`, to limit the potential
for panics.

[1]: https://github.com/programatik29/tokio-rusqlite/blob/master/CHANGELOG.md#050-25-nov-2023
2023-12-11 12:29:16 +08:00
..
repositories refactor(webserver): extract RegisterError and TokenAuthError and add unit test (#936) 2023-12-02 04:10:42 +00:00
schema feat(ui, webserver): support list users in team management (#1005) 2023-12-10 15:14:17 +08:00
service chore: update rusqlite, rusqlite_migration and tokio-rusqlite (#1017) 2023-12-11 12:29:16 +08:00
api.rs
lib.rs
ui.rs fix: for html paths, .html suffix should be appended automatically (#1015) 2023-12-10 15:58:21 +00:00
websocket.rs