mgeisler / textwrap

An efficient and powerful Rust library for word wrapping text.
MIT License
449 stars 44 forks source link

crates.io version `0.15.1` #484

Closed niyaznigmatullin closed 1 year ago

niyaznigmatullin commented 1 year ago

Seems that 0.15.1 was removed from crates.io. Can we have a version that will be resolved by cargo when 0.15.1 is specified in Cargo.toml?

jessebraham commented 1 year ago

Please upload a 0.15.2, even if it's identical to 0.15.0. I maintain multiple applications using clap which are no longer installable via cargo install without using the --locked option, because this version was yanked.

mgeisler commented 1 year ago

Thanks for the bug report! This was of course not the intention of the change in https://github.com/mgeisler/textwrap/issues/453.

From what I understand, it seems that making a 0.15.2 release without the semver breaking changes would fix this. I'll get onto that immediately.

mgeisler commented 1 year ago

A 0.15.2. release has been made in #486 — it's identical to the 0.15.0 release and it is thus a safe semver-compatible target for people trying to install ^0.15.1.

I'm sorry about the breakage! Lesson learnt: don't yank a crate if you don't offer a semver-compatible upgrade path to downstream users. I had not run into this corner-case before but now I know.

mgeisler commented 1 year ago

This should be fixed now, please let me know if you see any other problems!

jessebraham commented 1 year ago

All good on my end, thank you very much for the timely fix!