1
0
Fork 0
mirror of https://gitlab.alpinelinux.org/alpine/aports.git synced 2025-07-25 20:25:28 +03:00
aports/testing/innernet/unbundle-sqlite.patch
Uli Baum 2b03c48335 testing/innernet: use system libsqlite
instead of the version bundled with rusqlite.
Results in a smaller server binary.
2022-11-29 18:09:03 +00:00

34 lines
1,004 B
Diff

--- a/Cargo.lock
+++ b/Cargo.lock
@@ -70,12 +70,6 @@
checksum = "ec8a7b6a70fde80372154c65702f00a0f56f3e1c36abbc6c440484be248856db"
[[package]]
-name = "cc"
-version = "1.0.73"
-source = "registry+https://github.com/rust-lang/crates.io-index"
-checksum = "2fff2a6927b3bb87f9595d67196a70493f627687a71d87a0d692242c33f58c11"
-
-[[package]]
name = "cfg-if"
version = "1.0.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
@@ -514,7 +508,6 @@
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "9f0455f2c1bc9a7caa792907026e469c1d91761fb0ea37cbb16427c77280cf35"
dependencies = [
- "cc",
"pkg-config",
"vcpkg",
]
--- innernet-1.5.5-orig/server/Cargo.toml
+++ innernet-1.5.5/server/Cargo.toml
@@ -49,7 +49,7 @@
# Workaround for https://github.com/rusqlite/rusqlite/issues/914
[target.'cfg(target_env = "musl")'.dependencies]
-rusqlite = { version = "0.28", features = ["bundled"] }
+rusqlite = { version = "0.28" }
[dev-dependencies]
anyhow = "1"