19 releases (10 breaking)

0.11.0 Apr 12, 2024
0.9.0 Dec 4, 2023
0.8.2 Oct 28, 2023
0.8.1 Sep 5, 2022
0.0.2 May 14, 2017

#64 in Web programming

Download history 4268/week @ 2024-07-30 3969/week @ 2024-08-06 4779/week @ 2024-08-13 3864/week @ 2024-08-20 4491/week @ 2024-08-27 3718/week @ 2024-09-03 4316/week @ 2024-09-10 3494/week @ 2024-09-17 4652/week @ 2024-09-24 5509/week @ 2024-10-01 5007/week @ 2024-10-08 5163/week @ 2024-10-15 5335/week @ 2024-10-22 6037/week @ 2024-10-29 6370/week @ 2024-11-05 5771/week @ 2024-11-12

24,375 downloads per month
Used in 45 crates (40 directly)

MIT/Apache

60KB
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–22MB
~296K SLoC