Skip to content

Commit dd104cc

Browse files
committed
start accepting crates without authorship information
1 parent 51ca554 commit dd104cc

File tree

1 file changed

+0
-3
lines changed

1 file changed

+0
-3
lines changed

src/controllers/krate/publish.rs

Lines changed: 0 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -265,9 +265,6 @@ fn parse_new_headers(req: &mut dyn RequestExt) -> AppResult<EncodableCrateUpload
265265
if empty(new.license.as_ref()) && empty(new.license_file.as_ref()) {
266266
missing.push("license");
267267
}
268-
if new.authors.iter().all(String::is_empty) {
269-
missing.push("authors");
270-
}
271268
if !missing.is_empty() {
272269
let message = missing_metadata_error_message(&missing);
273270
return Err(cargo_err(&message));

0 commit comments

Comments
 (0)