nixide/nixide-sys/Cargo.toml

40 lines
1 KiB
TOML
Raw Permalink Normal View History

2026-03-13 13:26:33 +10:00
[package]
2026-03-13 17:16:40 +10:00
name = "nixide-sys"
2026-04-14 14:45:05 +10:00
description = "Unsafe direct FFI bindings to the libnix C API"
2026-03-13 17:16:40 +10:00
version = "0.1.0"
readme = "../README.md"
license = "GPL-3.0"
2026-04-14 14:45:05 +10:00
repository = "https://github.com/cry128/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
[lib]
2026-04-02 09:52:29 +10:00
path = "src/lib.rs"
2026-03-13 13:26:33 +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-04-14 14:45:16 +10:00
default = [ "nix-util-c" ]
all = [ "nix-util-c", "nix-store-c", "nix-expr-c", "nix-fetchers-c", "nix-flake-c", "nix-main-c" ]
nix-util-c = []
nix-store-c = []
nix-expr-c = []
nix-fetchers-c = []
2026-04-14 14:45:16 +10:00
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"
2026-04-14 14:45:16 +10:00
heck = "0.5.0"
2026-04-02 09:52:29 +10:00
# 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"