Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unable to install it (2.14.10) using cargo install because of Clap and options::Args #111

Closed
c02y opened this issue Oct 26, 2021 · 1 comment

Comments

@c02y
Copy link

c02y commented Oct 26, 2021

error[E0432]: unresolved import `clap::Clap`
 --> /home/chz/.cargo/registry/src/github.com-1ecc6299db9ec823/dua-cli-2.14.10/src/main.rs:3:5
  |
3 | use clap::Clap;
  |     ^^^^^^^^^^ no `Clap` in the root

...many errors because of clap...

error[E0599]: no function or associated item named `parse_from` found for struct `options::Args` in the current scope
  --> /home/chz/.cargo/registry/src/github.com-1ecc6299db9ec823/dua-cli-2.14.10/src/main.rs:58:45
   |
58 |     let opt: options::Args = options::Args::parse_from(wild::args_os());
   |                                             ^^^^^^^^^^ function or associated item not found in `options::Args`
@Byron
Copy link
Owner

Byron commented Oct 26, 2021

Thanks for the pointer. v2.14.11 was just released to address this.

@Byron Byron closed this as completed Oct 26, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants