From cb5ee66311660f107351586e6c5ac94a5c3b4d38 Mon Sep 17 00:00:00 2001 From: atlas Date: Wed, 3 Jun 2026 10:45:18 +0200 Subject: [PATCH] =?UTF-8?q?fix(#1111):=20drop=20rusqlite=20bundled=20featu?= =?UTF-8?q?re=20=E2=80=94=20use=20system=20libsqlite3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit rusqlite was compiled with features=["bundled"] which embeds the SQLite C source and compiles it via the cc crate on every fresh dependency build. libsqlite3 is already in nativeBuildInputs (pkgs.sqlite + pkgs.pkg-config) so the system library is always available in the nix sandbox. Dropping bundled removes the C compilation step from the dep tree. --- Cargo.lock | 9 ++++----- Cargo.toml | 2 +- 2 files changed, 5 insertions(+), 6 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index d953e639..9bf9e23f 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -318,9 +318,9 @@ dependencies = [ [[package]] name = "bitflags" -version = "2.11.1" +version = "2.12.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c4512299f36f043ab09a583e57bceb5a5aab7a73db1805848e8fef3c9e8c78b3" +checksum = "84d7ced0ae9557296835c32bf1b1e02b44c746701f898460fb000d7eaa84f00a" dependencies = [ "serde_core", ] @@ -1802,7 +1802,6 @@ version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "133c182a6a2c87864fe97778797e46c7e999672690dc9fa3ee8e241aa4a9c13f" dependencies = [ - "cc", "pkg-config", "vcpkg", ] @@ -1841,9 +1840,9 @@ dependencies = [ [[package]] name = "log" -version = "0.4.30" +version = "0.4.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "616ec5685824bcc94416c6d4a7a446eea774a31efd7062c8480ba6fd06d7a6e5" +checksum = "113b30b4cd05f7c06868fdb2854f66a7b9fece9a48425351cd532e810d74024f" [[package]] name = "lru-slab" diff --git a/Cargo.toml b/Cargo.toml index 3359a297..33f9bb67 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -35,7 +35,7 @@ rmcp = { version = "1.7", default-features = false, features = [ "macros", "transport-io", ] } -rusqlite = { version = "0.37", features = ["bundled"] } +rusqlite = { version = "0.37" } schemars = "1.0" serde = { version = "1", features = ["derive"] } serde_json = "1"