rsadsb / adsb_deku

✈️ Rust ADS-B decoder + tui radar application
MIT License
601 stars 22 forks source link

failed to select a version for the requirement `funty` #189

Closed wucke13 closed 1 year ago

wucke13 commented 1 year ago

I tried to add this as a dependency to my project, using

$ cargo add adsb_deku

, which yields the following result:

    Updating crates.io index
      Adding adsb_deku v0.6.1 to dependencies.
             Features:
             + alloc
             + std
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.1`
    ... which satisfies dependency `bitvec = "^0.22.1"` of package `deku v0.13.1`
    ... which satisfies dependency `deku = "^0.13"` of package `adsb_deku v0.6.1`
    ... which satisfies dependency `adsb_deku = "^0.6.1"` of package `adsb-server v0.1.0 

Indeed, version 1.2.0 was yanked.

wcampbell0x2a commented 1 year ago

Yep, I'll push an updates to crates.io.

In the meantime, you can use https://doc.rust-lang.org/cargo/reference/specifying-dependencies.html#specifying-dependencies-from-git-repositories to grab straight from this repo, as I already made it work here.

wcampbell0x2a commented 1 year ago

I pushed 0.6.2 which should fix this issue. lmk if you have any more issues.