3 ms·
If the newer version of some library has some breaking changes, you can migrate bit by bit instead of doing it all in one go.
by eat_veggies 9y ago
If the newer version of some library has some breaking changes, you can migrate bit by bit instead of doing it all in one go.
- smaddox 9y agoIf this is the only motivation for multiple dependency versions in the same compilation unit (crate), I'm not convinced. You would be trading off the simplicity of each crate specifying a range of acceptable dependency versions for specifying `N` ranges of acceptable dependencies, and requiring one of each. Much better to enforce one version per compilation unit, and if you want to get complex with your dependencies, then break your project into multiple compilation units.