#crates #api-client #io #api #information #default #rate

crates_io_api-wasm-patch

WASM-compatible patch of crates_io_api

2 releases

new 0.12.1 Jan 27, 2025
0.12.0 Jan 27, 2025

#166 in HTTP client

Download history 88/week @ 2025-01-22

88 downloads per month
Used in 2 crates (via crate2bib)

MIT/Apache

63KB
1.5K SLoC

crates-io-api

Crate API Docs

A Rust API client for the crates.io API.

This crate aims to provide an easy to use and complete client for retrieving detailed information about Rusts crate ecosystem.

The library uses the reqwest HTTP client and provides both an async and synchronous interface.

Please consult the official Crawler Policy before using this library. A rate limiter is included and enabled by default.

Usage

For usage information and examples, check out the Documentation.

rustls

By default the system TLS implementation is used.

You can also use rustls.

Cargo.toml:

[dependencies]
crates_io_api = { version = "?", default-features = false, features = ["rustls"] }

Dependencies

~7–21MB
~307K SLoC