From 0e1c28359c0c6e3f306bc6ac7943b404b87e60f8 Mon Sep 17 00:00:00 2001 From: Daniel Schadt Date: Sat, 17 Oct 2026 14:13:27 +0200 Subject: allow bundling of sqlite library --- Cargo.lock | 1 + hittekaart-py/Cargo.toml | 2 +- hittekaart/Cargo.toml | 3 +++ 3 files changed, 5 insertions(+), 1 deletion(-) diff --git a/Cargo.lock b/Cargo.lock index 3c7d0ab..39ae3e7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -1085,6 +1085,7 @@ version = "0.38.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f1d20bef17f513b9b3004532233187769cd072d790971f4e4da0e346eb6401e8" dependencies = [ + "cc", "pkg-config", "vcpkg", ] diff --git a/hittekaart-py/Cargo.toml b/hittekaart-py/Cargo.toml index 40b7dc7..f598178 100644 --- a/hittekaart-py/Cargo.toml +++ b/hittekaart-py/Cargo.toml @@ -10,5 +10,5 @@ crate-type = ["cdylib"] [dependencies] pyo3 = "0.29.1" -hittekaart = { path = "../hittekaart" } +hittekaart = { path = "../hittekaart", features = ["bundled"] } rayon = "1.10.0" diff --git a/hittekaart/Cargo.toml b/hittekaart/Cargo.toml index 857ebb7..50be2f0 100644 --- a/hittekaart/Cargo.toml +++ b/hittekaart/Cargo.toml @@ -28,6 +28,9 @@ roxmltree = "0.21.1" rusqlite = "0.40.0" thiserror = "2.0.12" +[features] +bundled = ["rusqlite/bundled"] + [dev-dependencies] criterion = "0.8.0" rstest = { version = "0.27.0", default-features = false } -- cgit v1.2.3