diff --git a/Cargo.lock b/Cargo.lock index 255c587..7f46d1b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -78,17 +78,24 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "clap" -version = "3.0.10" +version = "4.0.25" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7a30c3bf9ff12dfe5dae53f0a96e0febcd18420d1c0e7fad77796d9d5c4b5375" +checksum = "389ca505fd2c00136e0d0cd34bcd8b6bd0b59d5779aab396054b716334230c1c" dependencies = [ "atty", "bitflags", - "indexmap", - "os_str_bytes", + "clap_lex", "strsim", "termcolor", - "textwrap", +] + +[[package]] +name = "clap_lex" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0d4198f73e42b4936b35b5bb248d81d2b595ecb170da0bac7655c54eedfa8da8" +dependencies = [ + "os_str_bytes", ] [[package]] @@ -121,12 +128,6 @@ version = "0.26.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "78cc372d058dcf6d5ecd98510e7fbc9e5aec4d21de70f65fea8fecebcd881bd4" -[[package]] -name = "hashbrown" -version = "0.11.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" - [[package]] name = "hermit-abi" version = "0.1.19" @@ -136,16 +137,6 @@ dependencies = [ "libc", ] -[[package]] -name = "indexmap" -version = "1.7.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bc633605454125dec4b66843673f01c7df2b89479b32e0ed634e43a91cff62a5" -dependencies = [ - "autocfg", - "hashbrown", -] - [[package]] name = "is_ci" version = "1.1.1" @@ -241,9 +232,6 @@ name = "os_str_bytes" version = "6.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8e22443d1643a904602595ba1cd8f7d896afe56d26712531c5ff73a15b2fbf64" -dependencies = [ - "memchr", -] [[package]] name = "owo-colors" diff --git a/day01/Cargo.toml b/day01/Cargo.toml index 4e09e1a..640854c 100644 --- a/day01/Cargo.toml +++ b/day01/Cargo.toml @@ -6,4 +6,4 @@ edition = "2021" [dependencies] common = { path = "../common" } miette = { version = "3.3.0", features = ["fancy"] } -clap = "3.0.10" +clap = "4.0.25" diff --git a/day02/Cargo.toml b/day02/Cargo.toml index 23c0286..8fb7b07 100644 --- a/day02/Cargo.toml +++ b/day02/Cargo.toml @@ -6,6 +6,6 @@ edition = "2021" [dependencies] common = { path = "../common" } miette = { version = "3.3.0", features = ["fancy"] } -clap = "3.0.10" +clap = "4.0.25" thiserror = "1.0.30" nom = "7.1.0"