Hacker News new | ask | show | jobs
by the_mitsuhiko 3618 days ago
Cargo supports vendoring and enforces semver. Not sure why that document disagrees.
3 comments

The difference is in the central repository: Elm will compare your types to the previous versions and how the versions diff, and refuse to let you upload a package that makes a backwards incompatible change without bumping the version.

At least, that's my understanding of what they meant.

Elm also, according to a Changelog podcast I just heard, does not allow releasing below version 1.0.
Wonder if a `cargo check-version-bump` command would be helpful for us as more crates reach 1.0.
> Not sure why that document disagrees

Probably because of this[0]:

> Note that Cargo does not yet support vendoring in a first-class fashion, but this is a hotly desired feature and coming soon!

[0] http://doc.crates.io/faq.html#how-can-cargo-work-offline

Can you point to where Cargo supports vendoring? Curious to read some docs.