mirror of
https://github.com/huhu/rust-search-extension
synced 2024-11-14 15:47:12 +00:00
Filter out aws sdk crates
This commit is contained in:
parent
a09c271b55
commit
2acd9ac201
1 changed files with 2 additions and 2 deletions
|
@ -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 {
|
||||||
|
|
Loading…
Reference in a new issue