r2d2-redis
r2d2-redis copied to clipboard
Should Cargo.lock be committed?
According to the cargo docs, libraries shouldn't commit their Cargo.lock file and it should actually be added to their .gitignore. https://doc.rust-lang.org/cargo/faq.html#why-do-binaries-have-cargolock-in-version-control-but-not-libraries
I was wondering if that is correct or if there is a reason why the Cargo.lock file is committed in this repository. https://github.com/sorccu/r2d2-redis/blob/c04b8ec/Cargo.lock