forked from Mic92/nix-diff-rs
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathCargo.toml
More file actions
46 lines (39 loc) · 1.64 KB
/
Cargo.toml
File metadata and controls
46 lines (39 loc) · 1.64 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
[package]
name = "nix-diff"
version = "0.1.0"
edition = "2021"
authors = ["Joerg Thalheim <joerg@thalheim.io>"]
license = "BSD-3-Clause"
description = "Explain why two Nix derivations differ"
repository = "https://github.com/nix-community/nix-diff-rs"
[[bin]]
name = "nix-diff"
path = "src/main.rs"
[dependencies]
anyhow = { version = "1.0", default-features = false, features = ["std"] }
harmonia-store-aterm = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
harmonia-store-core = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
harmonia-utils-hash = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
similar = { version = "2.7", features = ["bytes", "text"], default-features = false }
tempfile = { version = "3.27", default-features = false }
tinyjson = "2.5"
[target.'cfg(not(target_env = "msvc"))'.dependencies]
tikv-jemallocator = "0.6"
[dev-dependencies]
criterion = { version = "0.8", default-features = false }
tempfile = { version = "3.27", default-features = false }
insta = { version = "1.46", default-features = false }
regex = "1.12"
[[bench]]
name = "nixos_derivation"
harness = false
[patch.crates-io]
harmonia-store-aterm = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
harmonia-store-core = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
harmonia-utils-hash = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
harmonia-utils-base-encoding = { git = "https://github.com/nix-community/harmonia", branch = "nix-2.34" }
[profile.release]
lto = true
codegen-units = 1
opt-level = 3
debug = true