[package] name = "nix-nar-cli" version = "0.3.0" authors = ["Alexandru Scvortov "] edition = "2021" description = """ Binary to manipulate Nix Archive (nar) files """ homepage = "https://gitlab.com/abstract-binary/nix-nar-rs" repository = "https://gitlab.com/abstract-binary/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 = "3.1", features = [ "derive" ] } nix-nar = { version = "0.3.0", path = ".." } serde_json = "1.0" symlink = "0.1.0" [dev-dependencies] ctor = "0.1.22" insta = "1.26" pretty-hex = "0.3"