From a92a68830f9c0176f974edca7e05c7d2361477e8 Mon Sep 17 00:00:00 2001 From: Skorobogaty Dmitry Date: Tue, 25 Nov 2025 15:37:56 +0400 Subject: [PATCH] enable just specific features required to show help --- {{project-name}}/Cargo.toml | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) diff --git a/{{project-name}}/Cargo.toml b/{{project-name}}/Cargo.toml index 39e8586..a4c407a 100644 --- a/{{project-name}}/Cargo.toml +++ b/{{project-name}}/Cargo.toml @@ -22,7 +22,11 @@ tokio = { workspace = true, features = [ "signal", ] } {% if program_types_with_opts contains program_type -%} -clap = { workspace = true, default-features = true, features = ["derive"] } +clap = { workspace = true, default-features = false, features = [ + "derive", + "help", + "usage" +] } {% endif -%} [build-dependencies]