iroh icon indicating copy to clipboard operation
iroh copied to clipboard

Failure to build due to wrong minimum versions in Cargo.toml

Open beatgammit opened this issue 1 year ago • 2 comments

I was just updating to iroh 0.11 from 0.7, and I had a build error since my lock file was pinned to redb 1.2, but iroh requires a feature from 1.3 (Debug trait on tables). I checked, and there were a few other instances where the minimum versions were too low to properly build, such as anyhow, which needs to be >= 1.0.39 to use the backtrace feature.

I recommend using something like cargo-minimal-versions in CI to ensure the project Cargo.toml is always buildable. I understand iroh is a fast-moving project, and I think this can help the dev experience as more people play with it.

beatgammit avatar Nov 18 '23 19:11 beatgammit

@flub with @Arqu out, can you take a look at this?

dignifiedquire avatar Feb 12 '24 11:02 dignifiedquire

We used to have this on the old beetle repo, we might be able to copy most of that.

flub avatar Feb 12 '24 12:02 flub