abba23/spotify-adblock

Update Cargo.lock

Closed this issue · 5 comments

I'm unable to build and package the latest version due to the Cargo lock file being out of date: error: the lock file /build/source/Cargo.lock needs to be updated but --frozen was passed to prevent this

It's true that the Cargo.lock file is slightly out of date. There's currently a pull request (#81) to use Github's dependabot to update it semi-automatically, but I haven't had the time to familiarize myself with it yet. That said, I don't think there are any security implications with using outdated dependencies in this case and you can always just delete the lock file if your packaging system (I assume that's where the error is from) refuses to build it otherwise.

But in NixOS Cargo.lock file is required to build rust packages , im getting the same error

The Cargo.lock is out of sync with Cargo.toml. It needs to be updated, I'm unable to easily package this for Nix.

This should be resolved by #94 (comment)

Sorry this took so long. I thought it was about outdated dependencies instead of the version of spotify-adblock itself being different in Cargo.toml and Cargo.lock. Seems like I forgot to regenerate Cargo.lock after incrementing the version in Cargo.toml, which I've now done.