nixide/nixide-sys/Cargo.toml

38 lines
932 B
TOML
Raw Normal View History

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]
path = "lib.rs"
# 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]
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]
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"