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

Install command in the Readme does not work #13

Open
YgorSouza opened this issue Mar 22, 2023 · 1 comment
Open

Install command in the Readme does not work #13

YgorSouza opened this issue Mar 22, 2023 · 1 comment

Comments

@YgorSouza
Copy link

The CLI application mentioned in the Readme does not seem to exist in the crate. Trying to install using the provided command results in an error:

> cargo install --features cli dfu-libusb
    Updating crates.io index
  Downloaded dfu-libusb v0.5.0
  Downloaded 1 crate (9.1 KB) in 0.95s
error: there is nothing to install in `dfu-libusb v0.5.0`, because it has no binaries
`cargo install` is only for installing programs, and can't be used with libraries.
To use a library crate, add it as a dependency in a Cargo project instead.

Apparently it was removed in a44aa2f.

@cecton
Copy link
Member

cecton commented Mar 24, 2023

Ah yes it has been move to the download example. cargo run --example download -- --help

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