# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.90.0"
name = "nix-bindings"
version = "0.2347.2"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Rust binding for Nix, the build tool"
readme = "README.md"
license = "MIT"
repository = "https://github.com/notashelf/nix-bindings"

[package.metadata.docs.rs]
targets = ["x86_64-unknown-linux-gnu"]

[features]
default = ["full"]
expr = [
    "store",
    "nix-bindings-sys/expr",
]
external = [
    "store",
    "nix-bindings-sys/util",
]
flake = [
    "expr",
    "nix-bindings-sys/flake",
]
full = [
    "nix-bindings-sys/full",
    "store",
    "expr",
    "util",
    "flake",
    "main",
    "external",
    "primop",
    "shim",
]
main = ["nix-bindings-sys/main"]
primop = [
    "expr",
    "nix-bindings-sys/expr",
]
shim = ["nix-bindings-sys/shim"]
store = [
    "nix-bindings-sys/store",
    "nix-bindings-sys/expr",
    "nix-bindings-sys/util",
]
util = ["nix-bindings-sys/util"]

[lib]
name = "nix_bindings"
path = "src/lib.rs"

[[test]]
name = "integration"
path = "tests/integration.rs"

[dependencies.nix-bindings-sys]
version = "0.2347.2"

[dev-dependencies.serial_test]
version = "3.5.0"

[dev-dependencies.tempfile]
version = "3.27.0"
