From 037a071b1aa675406366e63696c60eac591a766f Mon Sep 17 00:00:00 2001 From: Owen Jacobson Date: Sat, 5 Oct 2024 12:47:38 -0400 Subject: 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. --- Cargo.toml | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index b584631..faa858f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -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: -# -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: +# +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: -# +# Pinned to maintain libsqlite3 version match between this and rusqlite. See +# also: 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"] } -- cgit v1.2.3