this post was submitted on 07 Sep 2023
32 points (100.0% liked)
Rust
5824 readers
45 users here now
Welcome to the Rust community! This is a place to discuss about the Rust programming language.
Wormhole
Credits
- The icon is a modified version of the official rust logo (changing the colors to a gradient and black background)
founded 1 year ago
MODERATORS
you are viewing a single comment's thread
view the rest of the comments
view the rest of the comments
There are also plenty of purposeful semver violations. For example,
serde
makes basically no attempt to follow semver, and any pleas to do otherwise fall on deaf ears.With the justification being "I can't be bothered to decide what is breaking/feature/patch", so hey, here's a tool to tell you.
What's more, there was a recent discussion about why the derive feature is recommended in serde, and one of the points brought up was that the versions for both crates basically have to be equal. I couldn't help but wonder, would this be a problem if the releases actually followed semver? Theoretically, it shouldn't matter what versions you use, as long as they're above a certain minor version and the major versions match. But since everything is a patch, we have to pin the two crates together somehow.