2 ms·
Notwithstanding this (that Cargo.lock doesn’t apply to libraries), you can pin in Cargo.toml by specifying exact dependencies: `foo = "= 1.2.3"` will accept onl
by chrismorgan 6y ago
Notwithstanding this (that Cargo.lock doesn’t apply to libraries), you can pin in Cargo.toml by specifying exact dependencies: `foo = "= 1.2.3"` will accept only version 1.2.3.
- steveklabnik 6y agoYeah, this is a good point. I don't know that I've ever noticed it in the wild, but it is possible.