haimgel / display-switch

Turn a $30 USB switch into a full-featured multi-monitor KVM switch
https://haim.dev/posts/2020-07-28-dual-monitor-kvm/
MIT License
2.82k stars 110 forks source link

main branch build fails with --locked because version differs between Cargo.toml and Cargo.lock #107

Closed leodag closed 1 year ago

leodag commented 1 year ago

99 has updated the version of display_switch to 1.2.0 in Cargo.lock, but not in Cargo.toml. As such, building with cargo build --locked show the following message:

error: the lock file <...>/display-switch/Cargo.lock needs to be updated but --locked was passed to prevent this
If you want to try to generate the lock file without accessing the network, remove the --locked flag and use --offline instead.

If they are made to match, everything goes as expected.

haimgel commented 1 year ago

Thank you for flagging this, it's now fixed.