iroh
iroh copied to clipboard
Failure to build due to wrong minimum versions in Cargo.toml
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.
@flub with @Arqu out, can you take a look at this?
We used to have this on the old beetle repo, we might be able to copy most of that.