From 80defc2101e7b99a2f379230833676d8feda0343 Mon Sep 17 00:00:00 2001 From: Profpatsch Date: Thu, 30 Dec 2021 23:24:56 +0100 Subject: feat(tvix): set up a simple command line parser for nix-store We are going to have a 1:1 drop-in replacement for the old-style nix tools, and this starts implementing the cli parser part. The first step is to have a simple integration test suite that can verify that we match the nix CLI. clap is a super complicated parsing library, but looking through the rest they are either too opinioated to be of use for us, or depend on clap as implementation. Change-Id: I4cf6051f3a4f782c3242fd0d2b9eab3fbe33d8ad Reviewed-on: https://cl.tvl.fyi/c/depot/+/4756 Tested-by: BuildkiteCI Reviewed-by: tazjin Autosubmit: Profpatsch --- tvix/Cargo.toml | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'tvix/Cargo.toml') diff --git a/tvix/Cargo.toml b/tvix/Cargo.toml index 2a59a77eaf..8b0fbd846a 100644 --- a/tvix/Cargo.toml +++ b/tvix/Cargo.toml @@ -5,6 +5,10 @@ edition = "2021" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html +[dependencies.clap] +version = "3.0.5" +[dependencies.tempfile] +version = "3.2.0" [[bin]] name = "nix-store" -- cgit 1.4.1