35 lines
860 B
TOML
35 lines
860 B
TOML
[package]
|
|
name = "nix-bindings-store"
|
|
version = "0.1.0"
|
|
edition = "2021"
|
|
build = "build.rs"
|
|
license = "LGPL-2.1"
|
|
description = "Rust bindings to Nix store library"
|
|
repository = "https://github.com/nixops4/nix-bindings-rust"
|
|
|
|
[lib]
|
|
path = "src/lib.rs"
|
|
|
|
[dependencies]
|
|
anyhow = "1.0"
|
|
nix-bindings-util = { path = "../nix-bindings-util", version = "0.1.0" }
|
|
nix-bindings-util-sys = { path = "../nix-bindings-util-sys", version = "0.1.0" }
|
|
lazy_static = "1.4"
|
|
|
|
[dev-dependencies]
|
|
ctor = "0.2"
|
|
tempfile = "3.10"
|
|
|
|
[build-dependencies]
|
|
pkg-config = "0.3"
|
|
# Needed for version parsing in build.rs
|
|
nix-bindings-util = { path = "../nix-bindings-util", version = "0.1.0" }
|
|
|
|
[lints.rust]
|
|
warnings = "deny"
|
|
dead-code = "allow"
|
|
|
|
[lints.clippy]
|
|
type-complexity = "allow"
|
|
# We're still trying to make Nix more thread-safe, want forward-compat
|
|
arc-with-non-send-sync = "allow"
|