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

libusb crate no longer supported #11

Closed
parkerlreed opened this issue Aug 7, 2024 · 2 comments
Closed

libusb crate no longer supported #11

parkerlreed opened this issue Aug 7, 2024 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@parkerlreed
Copy link

Provide a brief description of the issue

rust-lang/cargo#9885

libusb is unmaintined and depends on bit-set 0.2.0 which no longer compiles

rust 1.80.0

Operating System version

Linux (Default)

Which camera model was this for?

No response

Relevant log output

[parker@parker-framework rust]$ cargo build --release
    Updating crates.io index
     Locking 7 packages to latest compatible versions
      Adding bit-set v0.2.0 (latest: v0.8.0)
  Downloaded bit-vec v0.8.0
  Downloaded libusb-sys v0.2.3
  Downloaded bit-set v0.2.0
error: failed to parse manifest at `/home/parker/.cargo/registry/src/index.crates.io-6f17d22bba15001f/bit-set-0.2.0/Cargo.toml`

Caused by:
  dependency (bit-vec) specified without providing a local path, Git repository, version, or workspace dependency to use
@parkerlreed parkerlreed added the bug Something isn't working label Aug 7, 2024
@parkerlreed
Copy link
Author

rusb seems to be the replacement

raleighlittles referenced this issue Aug 10, 2024
libusb is no longer supported on newer versions of rust
@raleighlittles
Copy link
Owner

Thanks for the heads up. I switched to rusb in the latest commit: 8a15817

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants