Skip to main content


After releasing enum-map 3.0.0-0.gat.0 #Rust crate I realized that a lot of tooling doesn't actually handle semver prerelease versions correctly if they don't have a string like "alpha", "beta", "dev", "pre" or "rc" in them. Just because #semver specification allows it doesn't mean that tools will actually support it.

At this point I'm not going to do anything about this particular release, but I will make sure to include "beta" in my future pre-release Rust crates.

This entry was edited (1 year ago)
Not sure if that's the reason, but I don't think 0.gat.0 is a valid pre-release version appendix. From https://semver.org/#spec-item-9 (the section about pre-release version numbers): Numeric identifiers MUST NOT include leading zeroes. Pre-release versions have a lower precedence than the associated normal version.
You might be right there, depends on how you read the definition. My brain understood this as "numeric identifiers must not start with zero", but one may as well understand it as you did, that no zeros may be prepended to the number.