You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When compiling handlr in release mode it fails on some errors related to Clap.
error[E0433]: failed to resolve: could not find `Clap` in `clap`
--> src/cli.rs:3:16
|
3 | #[derive(clap::Clap)]
| ^^^^ could not find `Clap` in `clap`
error: cannot find attribute `clap` in this scope
--> src/cli.rs:4:3
|
4 | #[clap(global_setting = clap::AppSettings::DeriveDisplayOrder)]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
error: cannot find attribute `clap` in this scope
--> src/cli.rs:5:3
|
5 | #[clap(global_setting = clap::AppSettings::DisableHelpSubcommand)]
| ^^^^
|
= note: `clap` is in scope, but it is a crate, not an attribute
... and several more
edit:
The actual culprit seems to be clap_derive, an indirect dependency. I can compile handlr successfully when I lock it at beta.2 but not when it's at beta.4 or beta.5 (beta.3 was skipped)
The text was updated successfully, but these errors were encountered:
Terr
changed the title
Compile error due to breaking changes in Clap 3.0 betas
Compile errors due to breaking changes in Clap 3.0 betas
Nov 6, 2021
When compiling handlr in release mode it fails on some errors related to Clap.
According to this Clap issue and their changelog there have been some breaking changes.
edit:
The actual culprit seems to be
clap_derive
, an indirect dependency. I can compile handlr successfully when I lock it at beta.2 but not when it's at beta.4 or beta.5 (beta.3 was skipped)The text was updated successfully, but these errors were encountered: