External Publication
Visit Post

Yanking a crate better than deleting it

Rust Internals [Unofficial] April 15, 2026
Source

Those solutions seem to revolve around the same idea:

  • In one case, crates are versioned by generation.major.minor.patch where generation is implicit in Cargo.toml and explicit in Cargo.lock.
  • In the other case, crates are versioned by major.minor.patch and major acts as an approximation of generation. During crate deletion, the next generation is the next major version.

Discussion in the ATmosphere

Loading comments...