crates.io icon indicating copy to clipboard operation
crates.io copied to clipboard

Allow deletion of crates within 24 hours of publishing

Open carols10cents opened this issue 2 years ago • 6 comments

NPM has this policy to better handle accidental publishing.

carols10cents avatar Oct 07 '22 15:10 carols10cents

@carols10cents did you mean to say "Allow deletion of crate versions"? At least that is what I would expect 😅

Turbo87 avatar Oct 08 '22 22:10 Turbo87

Well if you create the only version of a crate, then I think people would expect the entire crate would be deleted and available for someone else to claim again, right?

carols10cents avatar Oct 09 '22 01:10 carols10cents

yes, that would be the consequence :)

Turbo87 avatar Oct 09 '22 07:10 Turbo87

I like this. For every package in the company we have publish = false in Cargo.toml for just in case.

ThrashAbaddon avatar Dec 08 '22 11:12 ThrashAbaddon

I think it's a good idea. Pretty harmless. You can't be that invested in a crate if you just depended on it within 24 hours of publishing.

wildwestrom avatar Aug 17 '23 14:08 wildwestrom

  • https://github.com/rust-lang/rfcs/pull/3660 is open now to adjust our policies to allow this

Turbo87 avatar Jun 22 '24 10:06 Turbo87