diff options
| author | Daniel Schadt <kingdread@gmx.de> | 2026-10-17 14:13:27 +0200 |
|---|---|---|
| committer | Daniel Schadt <kingdread@gmx.de> | 2026-10-17 14:13:27 +0200 |
| commit | 0e1c28359c0c6e3f306bc6ac7943b404b87e60f8 (patch) | |
| tree | 0127e8309ed00830f49b3734ac8cf86d689421a4 | |
| parent | 52fa56b4d81dedd4cca5f6e5737c9df8c35dbaa5 (diff) | |
| download | hittekaart-0e1c28359c0c6e3f306bc6ac7943b404b87e60f8.tar.gz hittekaart-0e1c28359c0c6e3f306bc6ac7943b404b87e60f8.tar.bz2 hittekaart-0e1c28359c0c6e3f306bc6ac7943b404b87e60f8.zip | |
allow bundling of sqlite library
| -rw-r--r-- | Cargo.lock | 1 | ||||
| -rw-r--r-- | hittekaart-py/Cargo.toml | 2 | ||||
| -rw-r--r-- | hittekaart/Cargo.toml | 3 |
3 files changed, 5 insertions, 1 deletions
@@ -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 } |
