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

Fix cargo error in bit-set crate by implementing own minimal BitSet #45

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

AzazKamaz
Copy link

@AzazKamaz AzazKamaz commented Oct 23, 2021

I have found that newest cargo is not building libusb-rs because it depends on bit-set v0.2.0 that has incorrect Cargo.toml file (dependency without version). Also found pr #15 that have failed building on rust v1.3 because of bit-set update.

So I have written little implementation of bitset (with tests) that is enough for libusb usage. It's even a bit faster than old one (benchmarked with criterion: https://gist.github.com/AzazKamaz/71c0ff5277033ece07f33b70848c309f)

@AzazKamaz AzazKamaz changed the title Fix cargo error in bit-set crate by implementing own BitSet Fix cargo error in bit-set crate by implementing own minimal BitSet Oct 23, 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

Successfully merging this pull request may close these issues.

1 participant