fix: bundle sqlite3

bib-booking
Jef Roosens 2023-05-17 23:03:28 +02:00
parent 180768b858
commit af828dc48e
Signed by: Jef Roosens
GPG Key ID: B75D4F293C7052DB
4 changed files with 4 additions and 0 deletions

2
Cargo.lock generated
View File

@ -37,6 +37,7 @@ dependencies = [
"chrono",
"diesel",
"diesel_migrations",
"libsqlite3-sys",
"poise",
"tokio",
"uuid",
@ -835,6 +836,7 @@ version = "0.26.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "afc22eff61b133b115c6e8c74e818c628d6d5e7a502afea6f64dee076dd94326"
dependencies = [
"cc",
"pkg-config",
"vcpkg",
]

View File

@ -24,3 +24,5 @@ poise = "0.5.5"
async-minecraft-ping = "0.8.0"
diesel = { version = "2.0.4", features = ["sqlite", "returning_clauses_for_sqlite_3_35", "r2d2"] }
diesel_migrations = { version = "2.0.0", features = [ "sqlite" ] }
# Force sqlite3 to be bundled, allowing for a fully static binary
libsqlite3-sys = { version = "*", features = ["bundled"] }

View File