Filter out aws sdk crates

This commit is contained in:
Folyd 2024-06-26 18:48:31 +00:00
parent a09c271b55
commit 2acd9ac201

View file

@ -152,8 +152,8 @@ impl Task for CratesTask {
if !top_crates_id.contains(&row.id) { if !top_crates_id.contains(&row.id) {
return; return;
} }
// Filter out auto-generated google api crates. // Filter out aws_sdk crates and auto-generated google api crates.
if row.description.starts_with(GOOGLE_API_CRATES_FILTER_PREFIX) { if row.id.starts_with("aws_sdk_") || row.description.starts_with(GOOGLE_API_CRATES_FILTER_PREFIX) {
return; return;
} }
crates.push(Crate { crates.push(Crate {