esp-rs / espflash

Serial flasher utility for Espressif SoCs and modules based on esptool.py
Apache License 2.0
478 stars 116 forks source link

Espflash v2 cannot be compiled because of requirement `funty` #297

Closed lohrm-stabl closed 1 year ago

lohrm-stabl commented 1 year ago

Espflash v2 cannot be compiled because of requirement funty

root@d82fc04d79a3:/workspaces/Rust-SBC-Client# cargo install cargo-espflash --force --version 2.0.0-rc.1
  Downloaded cargo-espflash v2.0.0-rc.1
  Downloaded 1 crate (21.8 KB) in 0.47s
    Updating crates.io index
  Installing cargo-espflash v2.0.0-rc.1
error: failed to compile `cargo-espflash v2.0.0-rc.1`, intermediate artifacts can be found at `/tmp/cargo-installPhnzLR`

Caused by:
  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.14.1`
      ... which satisfies dependency `deku = "^0.14.1"` of package `esp-idf-part v0.1.1`
      ... which satisfies dependency `esp-idf-part = "^0.1.1"` of package `cargo-espflash v2.0.0-rc.1`
jessebraham commented 1 year ago

This package got yanked any they never released a compatible version, see here. Will fix as soon as I'm able, you should be able to still install using the --locked flag.

jessebraham commented 1 year ago

I've published new versions of cargo-espflash and espflash (2.0.0-rc.2) which should resolve this issue.