chore: include bundled sqlite version

main
Jef Roosens 2025-01-24 20:48:28 +01:00
parent edd459e1af
commit 15b2ef3477
No known key found for this signature in database
GPG Key ID: 21FD3D77D56BAF49
2 changed files with 4 additions and 2 deletions

2
Cargo.lock generated
View File

@ -351,6 +351,7 @@ dependencies = [
"diesel_migrations",
"futures",
"image",
"libsqlite3-sys",
"mime",
"rand",
"serde",
@ -1088,6 +1089,7 @@ version = "0.30.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "2e99fb7a497b1e3339bc746195567ed8d3e24945ecd636e3619d20b9de9e9149"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]

View File

@ -15,12 +15,12 @@ chrono = { version = "0.4.39", features = ["serde"] }
clap = { version = "4.5.26", features = ["derive", "env"] }
diesel = { version = "2.2.6", features = ["sqlite", "returning_clauses_for_sqlite_3_35", "r2d2", "chrono"] }
diesel_migrations = { version = "2.2.0", features = ["sqlite"] }
# Forces diesel to include a bundled version of Sqlite
libsqlite3-sys = {version = ">=0.17.2, <0.31.0", features = ["bundled"]}
futures = "0.3.31"
image = { version = "0.25.5", default-features = false, features = ["gif", "jpeg", "png"] }
mime = "0.3.17"
rand = "0.8.5"
# this dependency is needed soly because the r2d2_sqlite crate doesn't export
# the 'chrono' feature flag
serde = { version = "1.0.217", features = ["derive"] }
tera = "1.20.0"
tokio = { version = "1.42.0", features = ["full"] }