You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you’re building a non-end product, such as a rust library that other rust packages will depend on, put Cargo.lock in your .gitignore. If you’re building an end product, which are executable like command-line tool or an application, or a system library with crate-type of staticlib or cdylib, check Cargo.lock into git. If you're curious about why that is, see "Why do binaries have Cargo.lock in version control, but not libraries?" in the FAQ.
I've waxed poetic about this before, mainly in nabijaczleweli/cargo-update#50. And, while https has not used a split-lib up to this point, it's something that's always bugged me, and I'll def split it for the next release, so thanks for reminding me!
https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html
The text was updated successfully, but these errors were encountered: