Skip to content

hidapi cannot be used with non-default backends #55

@komeP

Description

@komeP

Commit be51e07 changed the hidapi dependency to use the default hidapi features. While this allows most users to simply depend on this crate without selecting a hidapi backend, users who want to e.g. use libusb on Linux instead of hidraw will encounter an error on build since hidraw will see multiple Linux backends enabled. It's not possible to disable features that dependencies enable.

I thought this was a problem for me so I was pinning version 0.9.0 for a while. However, I got hidraw working (every time I tried hidraw I had already connected via libusb once, which causes the hidraw device node to disappear), so I'd be happy even if you mark this wontfix and leave this issue as documentation.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions