2026-03-13 13:26:33 +10:00
|
|
|
[package]
|
2026-03-13 17:16:40 +10:00
|
|
|
name = "nixide-sys"
|
|
|
|
|
description = "Unsafe direct FFI bindings to libnix C API"
|
|
|
|
|
version = "0.1.0"
|
|
|
|
|
readme = "../README.md"
|
|
|
|
|
license = "GPL-3.0"
|
|
|
|
|
repository = "https://codeberg.org/luminary/nixide"
|
2026-03-29 00:00:19 +10:00
|
|
|
authors = [ "_cry64 <them@dobutterfliescry.net>" ]
|
2026-03-13 17:16:40 +10:00
|
|
|
|
|
|
|
|
edition = "2024"
|
|
|
|
|
build = "build.rs"
|
2026-03-13 13:26:33 +10:00
|
|
|
|
|
|
|
|
[package.metadata.docs.rs]
|
|
|
|
|
targets = [ "x86_64-unknown-linux-gnu" ]
|
|
|
|
|
|
|
|
|
|
[lib]
|
2026-04-02 09:52:29 +10:00
|
|
|
path = "src/lib.rs"
|
2026-03-13 13:26:33 +10:00
|
|
|
|
2026-03-27 10:38:56 +10:00
|
|
|
# NOTE: `[features]` have a 1-1 correspondence to the
|
|
|
|
|
# NOTE: shared libraries produced by the Nix C API.
|
2026-03-13 13:26:33 +10:00
|
|
|
[features]
|
2026-03-27 10:38:56 +10:00
|
|
|
default = ["nix-util-c"]
|
|
|
|
|
nix-util-c = []
|
|
|
|
|
nix-store-c = []
|
|
|
|
|
nix-expr-c = []
|
|
|
|
|
nix-fetchers-c = []
|
|
|
|
|
nix-flake-c = []
|
|
|
|
|
nix-main-c = []
|
2026-03-13 13:26:33 +10:00
|
|
|
|
|
|
|
|
[build-dependencies]
|
2026-04-02 09:52:29 +10:00
|
|
|
itertools = "0.14.0"
|
|
|
|
|
heck = "0.5.0"
|
|
|
|
|
|
|
|
|
|
# rust-bindgen
|
2026-03-13 13:26:33 +10:00
|
|
|
bindgen = { default-features = false, features = [ "logging", "runtime" ], version = "0.72.1" }
|
|
|
|
|
doxygen-bindgen = "0.1.3"
|
|
|
|
|
pkg-config.workspace = true
|
|
|
|
|
cc.workspace = true
|
|
|
|
|
|
2026-03-13 23:20:49 +10:00
|
|
|
[dev-dependencies]
|
|
|
|
|
serial_test = "3.4.0"
|