Commit

Author:

Hash:

Timestamp:

+3 -0 +/-2 browse

Kevin Schoon [me@kevinschoon.com]

8ee0b345b6dc7d1d86ee4e62a345a4e345d58ab7

Thu, 14 May 2026 09:20:04 +0000 (3 weeks ago)

switch to bundled sqlite
1diff --git a/Cargo.lock b/Cargo.lock
2index de57c6c..21a7861 100644
3--- a/Cargo.lock
4+++ b/Cargo.lock
5 @@ -450,6 +450,7 @@ version = "0.2.1"
6 dependencies = [
7 "diesel",
8 "diesel_migrations",
9+ "libsqlite3-sys",
10 "serde",
11 "serde_json",
12 "thiserror 2.0.18",
13 @@ -1834,6 +1835,7 @@ version = "0.37.0"
14 source = "registry+https://github.com/rust-lang/crates.io-index"
15 checksum = "b1f111c8c41e7c61a49cd34e44c7619462967221a6443b0ec299e0ac30cfb9b1"
16 dependencies = [
17+ "cc",
18 "pkg-config",
19 "vcpkg",
20 ]
21 diff --git a/crates/database/Cargo.toml b/crates/database/Cargo.toml
22index 350436b..37c19f2 100644
23--- a/crates/database/Cargo.toml
24+++ b/crates/database/Cargo.toml
25 @@ -16,3 +16,4 @@ thiserror = { workspace = true }
26
27 diesel = { version = "2.3.9", features = ["sqlite", "returning_clauses_for_sqlite_3_35"] }
28 diesel_migrations = { version = "2.3.2", features = ["sqlite"] }
29+ libsqlite3-sys = { version = "0.37.0", features = ["bundled"] }