feat: nix_nar

This commit is contained in:
2026-01-17 22:39:38 +08:00
parent 2ad662c765
commit 611255d42c
9 changed files with 108 additions and 131 deletions

34
Cargo.lock generated
View File

@@ -254,6 +254,12 @@ dependencies = [
"displaydoc",
]
[[package]]
name = "camino"
version = "1.2.2"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "e629a66d692cb9ff1a1c664e41771b3dcaf961985a9774c0eb0bd1b51cf60a48"
[[package]]
name = "capacity_builder"
version = "0.5.0"
@@ -1480,6 +1486,15 @@ dependencies = [
"windows-sys 0.61.2",
]
[[package]]
name = "is_executable"
version = "1.0.5"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "baabb8b4867b26294d818bf3f651a454b6901431711abb96e296245888d6e8c4"
dependencies = [
"windows-sys 0.60.2",
]
[[package]]
name = "itertools"
version = "0.10.5"
@@ -1765,6 +1780,7 @@ dependencies = [
"mimalloc",
"nix-daemon",
"nix-js-macros",
"nix-nar",
"petgraph",
"regex",
"reqwest",
@@ -1794,6 +1810,18 @@ dependencies = [
"syn",
]
[[package]]
name = "nix-nar"
version = "0.3.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "15dbfa157df89f4283825ff1c21d53344cfe0d222ea8fde0f9514206dc62d9e0"
dependencies = [
"camino",
"is_executable",
"symlink",
"thiserror 1.0.69",
]
[[package]]
name = "nom"
version = "7.1.3"
@@ -2729,6 +2757,12 @@ version = "2.6.1"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292"
[[package]]
name = "symlink"
version = "0.1.0"
source = "registry+https://github.com/rust-lang/crates.io-index"
checksum = "a7973cce6668464ea31f176d85b13c7ab3bba2cb3b77a2ed26abd7801688010a"
[[package]]
name = "syn"
version = "2.0.104"