diff options
| author | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 12:47:38 -0400 |
|---|---|---|
| committer | Owen Jacobson <owen@grimoire.ca> | 2024-10-05 12:47:38 -0400 |
| commit | 037a071b1aa675406366e63696c60eac591a766f (patch) | |
| tree | 1942b3be396a7b9a6cbe0f7af21e5441f93d4a97 /Cargo.toml | |
| parent | 19b53b1ace4be040a7420080c31e8c95ca9eeb8c (diff) | |
Replace `unsafe` impl of backups with `rusqlite`.
The unsafe code still exists, but I have more faith in the rusqlite authors than in myself to ensure that the code is correct.
Diffstat (limited to 'Cargo.toml')
| -rw-r--r-- | Cargo.toml | 10 |
1 files changed, 5 insertions, 5 deletions
@@ -14,16 +14,16 @@ futures = "0.3.30" headers = "0.4.0" hex-literal = "0.4.1" itertools = "0.13.0" -# Pinned to keep sqlx and libsqlite3 in lockstep. See also: -# <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html> -libsqlite3-sys = { version = "=0.30.1", features = ["bundled"] } password-hash = { version = "0.5.0", features = ["std"] } rand = "0.8.5" rand_core = { version = "0.6.4", features = ["getrandom"] } +# Pinned to maintain libsqlite3 version match between this and sqlx. See also: +# <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html> +rusqlite = { version = "=0.32.1", features = ["backup"] } serde = { version = "1.0.210", features = ["derive"] } serde_json = "1.0.128" -# Pinned to keep sqlx and libsqlite3 in lockstep. See also: -# <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html> +# Pinned to maintain libsqlite3 version match between this and rusqlite. See +# also: <https://docs.rs/sqlx/latest/sqlx/sqlite/index.html> 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"] } |
