chore(tvix): upgrade to clap 4.0

In //tvix/eval:

* criterion bumped to 4.0, which at least depends on clap 3.x instead
  of 2.x, which is less incompatible

In //tvix/cli:

* no changes required

In //tvix/nix_cli:

* some minor changes for compatibility with clap 4.0, no functionality
  changes

Change-Id: If793f64b59fcaa2402d3d483ddbab4092f32df03
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7588
Reviewed-by: grfn <grfn@gws.fyi>
Tested-by: BuildkiteCI
This commit is contained in:
Vincent Ambo 2022-12-16 14:54:22 +03:00 committed by tazjin
parent d9e2bec953
commit 257c67f204
7 changed files with 482 additions and 449 deletions

View file

@ -6,5 +6,5 @@ edition = "2021"
[dependencies]
tvix-eval = { path = "../eval" }
rustyline = "10.0.0"
clap = { version = "3.2.22", features = ["derive", "env"] }
clap = { version = "4.0", features = ["derive", "env"] }
dirs = "4.0.0"