diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 00:15:45 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 00:27:29 -0400 |
| commit | e1551113323d5a496b826d7b0265b1be6235f45c (patch) | |
| tree | 08f09cac579c954c782e39d5cd02c7ae72f86374 /Cargo.toml | |
| parent | b422be184e01b4cc35b9c9a6921379080c24edb3 (diff) | |
Make a backup of the `.hi` database before applying migrations.
This was motivated by Kit and I both independently discovering that sqlite3 will happily partially apply migrations, leaving the DB in a broken state.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 6 |
1 files changed, 5 insertions, 1 deletions
@@ -4,6 +4,11 @@ version = "0.1.0" edition = "2021" [dependencies] +# Pinned to keep sqlx and libsqlite3 in lockstep. See also: +# <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html> +sqlx = { version = "=0.8.2", features = ["chrono", "runtime-tokio", "sqlite"] } +libsqlite3-sys = { version = "=0.30.1", features = ["bundled"] } + argon2 = "0.5.3" async-trait = "0.1.83" axum = { version = "0.7.6", features = ["form"] } @@ -18,7 +23,6 @@ rand = "0.8.5" rand_core = { version = "0.6.4", features = ["getrandom"] } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" -sqlx = { version = "0.8.2", features = ["chrono", "runtime-tokio", "sqlite"] } thiserror = "1.0.64" tokio = { version = "1.40.0", features = ["rt", "macros", "rt-multi-thread"] } tokio-stream = { version = "0.1.16", features = ["sync"] } |
