`aml` depends on an old version of `bitvec` which depends on a yanked version of `funty`
andrisaar opened this issue · 2 comments
andrisaar commented
Attempting to compile aml from the current head fails:
error: failed to select a version for the requirement `funty = "~1.2"`
candidate versions found which didn't match: 2.0.0, 1.1.0, 1.0.1, ...
location searched: crates.io index
required by package `bitvec v0.22.3`
... which satisfies dependency `bitvec = "^0.22.3"` of package `aml v0.16.1 (/path/to/aml)`
and yes, funty version 1.2 has been yanked: https://crates.io/crates/funty/versions
Of course, it's possible to do some hacks with Cargo.lock to download that crate, but that's less than ideal.
Unfortunately upgrading to the latest bitvec, version 1.0.1 introduces some API changes; one is trivial enough (use fill instead of set_all), but the newer version lacks BitSlice::as_raw_slice(); replacing that requires more context about the code than I have, so apologies for just not sniping with a PR to upgrade the version.
IsaacWoods commented
Ah, thanks for the report! I'll take a look when I get the chance :)
IsaacWoods commented
🚀 Published as aml v0.16.2