From 1e5a9a822a5b5dfbb402fde18253da6717db5128 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Victor=20Ara=C3=BAjo?= Date: Sun, 23 Aug 2026 15:45:42 -0300 Subject: [PATCH] chore: pin ctl-core 0.1.1 without the help workaround 0.1.1 compiles `features = ["usage"]` alone. --- .changeset/ctl-core-0.1.1.md | 5 ++ Cargo.lock | 124 ++--------------------------------- Cargo.toml | 5 +- 3 files changed, 11 insertions(+), 123 deletions(-) create mode 100644 .changeset/ctl-core-0.1.1.md diff --git a/.changeset/ctl-core-0.1.1.md b/.changeset/ctl-core-0.1.1.md new file mode 100644 index 0000000..ea3fb38 --- /dev/null +++ b/.changeset/ctl-core-0.1.1.md @@ -0,0 +1,5 @@ +--- +qctl: patch +--- + +ctl-core 0.1.1. `features = ["usage"]` compiles without `help`. diff --git a/Cargo.lock b/Cargo.lock index 094189f..8953e84 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -31,25 +31,6 @@ version = "0.2.21" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "683d7910e743518b0e34f1186f92494becacb047c7b6bf616c96772180fef923" -[[package]] -name = "ansi-str" -version = "0.9.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "060de1453b69f46304b28274f382132f4e72c55637cf362920926a70d090890d" -dependencies = [ - "ansitok", -] - -[[package]] -name = "ansitok" -version = "0.3.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0a8acea8c2f1c60f0a92a8cd26bf96ca97db56f10bbcab238bbe0cceba659ee" -dependencies = [ - "nom 7.1.3", - "vte", -] - [[package]] name = "anstream" version = "1.0.0" @@ -106,12 +87,6 @@ version = "1.0.104" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "330a5ed07fa54e4702c9d6c4174f74427fc0ef6e214bbd677ae50a5099946470" -[[package]] -name = "arrayvec" -version = "0.7.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d3fb67a6e08acf24fdeccbac2cb6ac4305825bd1f117462e0e6f2f193345ad56" - [[package]] name = "autocfg" version = "1.5.1" @@ -238,19 +213,6 @@ version = "1.0.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1d07550c9036bf2ae0c684c4297d503f838287c83c53686d05370d0e139ae570" -[[package]] -name = "comfy-table" -version = "8.0.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "136c8c4c3823846e8ba6d4bda011b4e5d5827b8bb0ac26c31f9ab31abe9f54f2" -dependencies = [ - "ansi-str", - "console", - "crossterm", - "unicode-segmentation", - "unicode-width 0.2.2", -] - [[package]] name = "compact_str" version = "0.9.1" @@ -273,44 +235,17 @@ checksum = "4fe5f465a4f6fee88fad41b85d990f84c835335e85b5d9e6e63e0d06d28cba7c" dependencies = [ "encode_unicode", "libc", - "unicode-width 0.2.2", "windows-sys", ] -[[package]] -name = "crossterm" -version = "0.29.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8b9f2e4c67f833b660cdb0a3523065869fb35570177239812ed4c905aeff87b" -dependencies = [ - "bitflags", - "crossterm_winapi", - "document-features", - "parking_lot", - "rustix", - "winapi", -] - -[[package]] -name = "crossterm_winapi" -version = "0.9.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "acdd7c62a3665c7f6830a51635d9ac9b23ed385797f70a83bb8bafe9c572ab2b" -dependencies = [ - "winapi", -] - [[package]] name = "ctl-core" -version = "0.1.0" +version = "0.1.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "80327241c88a1eed440c0d2cd4d7f652baf6e1dbabc1b9c745f1ffea77476d0d" +checksum = "b184aad9ea567108027a8f801b38d315192dc86f8c8974c6f08245440b90880b" dependencies = [ - "anstream", - "anstyle", "anyhow", "clap", - "comfy-table", "document-features", "indoc", "usage-lib", @@ -890,7 +825,7 @@ checksum = "5f98efec8807c63c752b5bd61f862c165c115b0a35685bdcfd9238c7aeb592b7" dependencies = [ "cfg-if", "miette-derive", - "unicode-width 0.1.14", + "unicode-width", ] [[package]] @@ -904,28 +839,12 @@ dependencies = [ "syn 2.0.119", ] -[[package]] -name = "minimal-lexical" -version = "0.2.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68354c5c6bd36d73ff3feceb05efa59b6acb7626617f4962be322a825e61f79a" - [[package]] name = "nohash-hasher" version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2bf50223579dc7cdcfb3bfcacf7069ff68243f8c363f62ffa99cf000a6b9c451" -[[package]] -name = "nom" -version = "7.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d273983c5a657a70a3e8f2a01329822f3b8c8172b73826411a55751e404a0a4a" -dependencies = [ - "memchr", - "minimal-lexical", -] - [[package]] name = "nom" version = "8.0.0" @@ -1706,24 +1625,12 @@ version = "1.0.24" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e6e4313cd5fcd3dad5cafa179702e2b244f760991f45397d14d4ebf38247da75" -[[package]] -name = "unicode-segmentation" -version = "1.13.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c6f5d3c3b1bf09027a88a6bc961fc00497d651009560b5463668dc81b0fa87a8" - [[package]] name = "unicode-width" version = "0.1.14" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "7dd6e30e90baa6f72411720665d41d89b9a3d039dc45b8faea1ddd07f617f6af" -[[package]] -name = "unicode-width" -version = "0.2.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4ac048d71ede7ee76d585517add45da530660ef4390e49b098733c6e897f254" - [[package]] name = "usage-lib" version = "6.1.1" @@ -1780,7 +1687,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "80a7e511ce1795821207a837b7b1c8d8aca0c648810966ad200446ae58f6667f" dependencies = [ "itertools 0.14.0", - "nom 8.0.0", + "nom", ] [[package]] @@ -1795,7 +1702,6 @@ version = "0.14.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "231fdcd7ef3037e8330d8e17e61011a2c244126acc0a982f4040ac3f9f0bc077" dependencies = [ - "arrayvec", "memchr", ] @@ -1853,28 +1759,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "winapi" -version = "0.3.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" -dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", -] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" - [[package]] name = "windows-link" version = "0.2.1" diff --git a/Cargo.toml b/Cargo.toml index a9d7268..5b64766 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -26,9 +26,8 @@ pedantic = { level = "deny", priority = -1 } [dependencies] anyhow = "1.0.100" -clap = { version = "4.6.5", features = ["derive", "env"] } -# `help` is required: ctl-core 0.1.0 prelude re-exports `go` un-cfg'd. -ctl-core = { version = "0.1.0", default-features = false, features = ["usage", "help"] } +clap = { version = "4.6.6", features = ["derive", "env"] } +ctl-core = { version = "0.1.1", default-features = false, features = ["usage"] } garde = { version = "0.23.0", features = ["derive", "regex"] } indoc = "2.0.7" jsonschema = { version = "0.49.9", default-features = false }