pub async fn search_packages(
client: &WasmerClient,
query: impl Into<String>,
filter: Option<PackagesFilter>,
first: Option<i32>,
after: Option<String>,
) -> Result<Paginated<SearchPackageVersion>, Error>Expand description
Search the registry for packages matching query, optionally constrained by
filter (e.g. by owner, curated status, downloads).
Returns a single page of matching package versions; pass first/after for
pagination. Use fetch_all_matching_packages to stream every page.