Skip to content

Commit

Permalink
versions: Downgrade clap
Browse files Browse the repository at this point in the history
- Downgrade clap to get to a version that builds on rust 1.69
- clap 4.3 states that it requires rust 1.65, but it pulls in
clap_lex 0.5 as a dependency, which requires rust 1.70.
The newest version of clap_lex that will build on 1.69 is 0.4 and
the newest version of clap that depends on 0.4 is currently 4.2.7,
which is how I got to this version

Fixes: #336
Signed-off-by: stevenhorsman <steven@uk.ibm.com>
  • Loading branch information
stevenhorsman authored and arronwy committed Aug 30, 2023
1 parent 6632e00 commit 2d8dcd3
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ base64-serde = "0.7"
bincode = "1.3.3"
cfg-if = "1.0.0"
chrono = "0.4.26"
clap = "4"
clap = "4.2.7"
const_format = "0.2.30"
ctr = "0.9.2"
env_logger = "0.10.0"
Expand Down Expand Up @@ -68,4 +68,3 @@ zeroize = "1.5.7"

[patch.crates-io]
oci-distribution = { git = "https://github.com/krustlet/oci-distribution.git", rev = "f44124c" }

0 comments on commit 2d8dcd3

Please sign in to comment.