File tree 2 files changed +2
-9
lines changed
2 files changed +2
-9
lines changed Original file line number Diff line number Diff line change 21
21
<div local-class =" requirements" >
22
22
<h3 >Requirements:</h3 >
23
23
<p >
24
- A crate can only be deleted if it is not depended upon by any other crate on crates.io. (This is a temporary
25
- restriction due to
26
- <a
27
- href =' https://github.com/rust-lang/crates.io/issues/10538'
28
- target =' _blank'
29
- rel =' noopener noreferrer'
30
- >#10538</a >.)
24
+ A crate can only be deleted if it is not depended upon by any other crate on crates.io.
31
25
</p >
32
26
<p >Additionally, a crate can only be deleted if either:</p >
33
27
<ol local-class =' first' >
Original file line number Diff line number Diff line change @@ -99,8 +99,7 @@ pub async fn delete_crate(
99
99
}
100
100
}
101
101
102
- // Temporary hack to mitigate https://github.com/rust-lang/crates.io/issues/10538: all crates
103
- // with reverse dependencies are currently blocked from being deleted to avoid unexpected
102
+ // All crates with reverse dependencies are blocked from being deleted to avoid unexpected
104
103
// historical index changes.
105
104
if has_rev_dep ( & mut conn, krate. id ) . await ? {
106
105
let msg = "only crates without reverse dependencies can be deleted" ;
You can’t perform that action at this time.
0 commit comments