From 748bd1d7c0337ef91a57c6ced38a33ac90bab7c7 Mon Sep 17 00:00:00 2001 From: martinabeleda Date: Wed, 18 Mar 2026 18:14:26 -0700 Subject: [PATCH] add cap to clap_lex version and install with --locked flag --- Cargo.toml | 1 + README.md | 2 +- 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 4f39ac3..ed2dcb5 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -32,6 +32,7 @@ ansi-to-tui = "7" anyhow = "1" bumpalo = "3.16.0" clap = { version = "4.0.0", features = ["cargo", "derive", "env", "string", "wrap_help"] } +clap_lex = ">= 1.0.0, < 1.1.0" crossterm = { version = "0.28", features = ["windows"] } encoding_rs = "0.8.35" glob = "0.3.1" diff --git a/README.md b/README.md index 322553c..a200d7d 100644 --- a/README.md +++ b/README.md @@ -23,7 +23,7 @@ Uses [difftastic](https://difftastic.wilfred.me/) for structural, syntax-aware d ### Install from crates.io ```bash -cargo install ripdiff +cargo install --locked ripdiff ``` This installs `ripdiff` into `~/.cargo/bin/`.