nix-nar-cli 0.4.0

Binary to manipulate Nix Archive (nar) files
[package]
name = "nix-nar-cli"
version = "0.4.0"
authors = ["Alexandru Scvortov <code@scvalex.net>"]
edition = "2021"
description = """
Binary to manipulate Nix Archive (nar) files
"""
homepage = "https://codeberg.org/scvalex/nix-nar-rs"
repository = "https://codeberg.org/scvalex/nix-nar-rs"
license = "Apache-2.0 OR LGPL-2.1-or-later"
categories = ["command-line-utilities", "encoding", "parser-implementations"]
keywords = ["nix", "nixos", "nar", "encoding"]
readme = "README.md"
exclude = [
  "/test-data/make-nars.sh",

  # Symlinks need to be generated by the test code itself.  Otherwise
  # `cargo package` just turns them into regular files in the release
  # artifacts.  Also update this list in cli/Cargo.toml and
  # .gitignore.
  "/test-data/06-symlink.in",
  "/test-data/07-nested-dirs.in/02-some-dir/link-to-an-empty-file",
]

# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[[bin]]
path = "src/main.rs"
name = "nix-nar"

[dependencies]
anyhow = "1.0"
camino = "1.1.6"
clap = { version = "4.6", features = [ "derive" ] }
nix-nar = { version = "0.4.0", path = ".." }
serde_json = "1.0"
symlink = "0.1.0"

[dev-dependencies]
ctor = "0.10"
insta = "1.26"
pretty-hex = "0.4"