News for hackers. Stuff that matters.
Re:A Proposal for Package Versioning in Go by eat_veggies on Monday March 26, 2018 @02:42PM (#16681338)
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.
Re:A Proposal for Package Versioning in Go by smaddox on Monday March 26, 2018 @03:10PM (#16681572)
If 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.