Open ansg191 opened 1 year ago
@ansg191 were you able to run this project to download torrents? I was using the CLI version, not able to do so :/
yepp ...
error: failed to select a version for the requirement `funty = "~1.2"`
$ git clone --depth=1 https://github.com/vimpunk/cratetorrent
$ cd cratetorrent
$ cargo generate-lockfile
Updating crates.io index
error: failed to select a version for the requirement `funty = "~1.2"`
candidate versions found which didn't match: 3.0.0-rc2, 3.0.0-rc1, 2.0.0, ...
location searched: crates.io index
required by package `bitvec v0.22.0`
... which satisfies dependency `bitvec = "^0.22"` of package `cratetorrent v0.2.0 (/run/user/1000/tmp.7NV0nb4Jpt/cratetorrent/cratetorrent)`
... which satisfies path dependency `cratetorrent` of package `cratetorrent-cli v0.2.0 (/run/user/1000/tmp.7NV0nb4Jpt/cratetorrent/cratetorrent-cli)`
if you are looking for the prerelease package it needs to be specified explicitly
funty = { version = "3.0.0-rc2" }
perhaps a crate was updated and forgotten to be re-vendored?
This crate depends on
bitvec = "0.22"
which depends onfunty = "1.2"
, which has been yanked. Because of this, it's currently not possible to build the crate.It might be worth upgrading to
bitvec
to 1.0. From my simple skim over, it looks like the only required change would be to flip the type parameters forBitfield
from:to