summaryrefslogtreecommitdiff
path: root/Cargo.lock
diff options
context:
space:
mode:
authorOwen Jacobson <owen@grimoire.ca>2024-10-05 12:47:38 -0400
committerOwen Jacobson <owen@grimoire.ca>2024-10-05 12:47:38 -0400
commit037a071b1aa675406366e63696c60eac591a766f (patch)
tree1942b3be396a7b9a6cbe0f7af21e5441f93d4a97 /Cargo.lock
parent19b53b1ace4be040a7420080c31e8c95ca9eeb8c (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.lock')
-rw-r--r--Cargo.lock28
1 files changed, 27 insertions, 1 deletions
diff --git a/Cargo.lock b/Cargo.lock
index 6d5dc03..85aa54d 100644
--- a/Cargo.lock
+++ b/Cargo.lock
@@ -555,6 +555,18 @@ dependencies = [
]
[[package]]
+name = "fallible-iterator"
+version = "0.3.0"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "2acce4a10f12dc2fb14a218589d4f1f62ef011b2d0cc4b3cb1bba8e94da14649"
+
+[[package]]
+name = "fallible-streaming-iterator"
+version = "0.1.9"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7360491ce676a36bf9bb3c56c1aa791658183a54d2744120f27285738d90465a"
+
+[[package]]
name = "fastrand"
version = "2.1.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -795,10 +807,10 @@ dependencies = [
"headers",
"hex-literal",
"itertools",
- "libsqlite3-sys",
"password-hash",
"rand",
"rand_core",
+ "rusqlite",
"serde",
"serde_json",
"sqlx",
@@ -1369,6 +1381,20 @@ dependencies = [
]
[[package]]
+name = "rusqlite"
+version = "0.32.1"
+source = "registry+https://github.com/rust-lang/crates.io-index"
+checksum = "7753b721174eb8ff87a9a0e799e2d7bc3749323e773db92e0984debb00019d6e"
+dependencies = [
+ "bitflags",
+ "fallible-iterator",
+ "fallible-streaming-iterator",
+ "hashlink",
+ "libsqlite3-sys",
+ "smallvec",
+]
+
+[[package]]
name = "rustc-demangle"
version = "0.1.24"
source = "registry+https://github.com/rust-lang/crates.io-index"