overhaul nixide-sys/build.rs

This commit is contained in:
do butterflies cry? 2026-04-02 09:52:29 +10:00
parent 32cd7e0587
commit 46baf3cd2e
Signed by: cry
GPG key ID: F68745A836CA0412
7 changed files with 150 additions and 608 deletions

View file

@ -14,7 +14,7 @@ build = "build.rs"
targets = [ "x86_64-unknown-linux-gnu" ]
[lib]
path = "lib.rs"
path = "src/lib.rs"
# NOTE: `[features]` have a 1-1 correspondence to the
# NOTE: shared libraries produced by the Nix C API.
@ -28,15 +28,14 @@ nix-flake-c = []
nix-main-c = []
[build-dependencies]
itertools = "0.14.0"
heck = "0.5.0"
# rust-bindgen
bindgen = { default-features = false, features = [ "logging", "runtime" ], version = "0.72.1" }
doxygen-bindgen = "0.1.3"
itertools = "0.14.0"
pkg-config.workspace = true
cc.workspace = true
autocxx-build = "0.30.0"
[dev-dependencies]
serial_test = "3.4.0"
[dependencies]
autocxx = "0.30.0"