From 19f97eaf1802b80acbd3ab105ea4683082f297c2 Mon Sep 17 00:00:00 2001 From: Denys Zadorozhnyi Date: Thu, 29 Aug 2024 09:55:56 +0300 Subject: [PATCH] fix: `cargo release` by adding `help` feature to `clap` dependency since `cargo build` seems ignore `default-features` on the workspace level and enables default features for inherited dependencies. `cargo release` OTOH seems to behave correctly and does not ignore `default-features` on the workspace level and the build fails due to `Command::help_template` is hidden behind the `help` feature. --- Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/Cargo.toml b/Cargo.toml index b3d8b5cb3..81be55051 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -48,6 +48,7 @@ clap = { version = "4.1", default-features = false, features = [ "derive", "std", "env", + "help", ] } cranelift-entity = "0.108" cranelift-bforest = "0.108"