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

#62 in Web programming

Download history 4833/week @ 2024-07-22 4238/week @ 2024-07-29 4206/week @ 2024-08-05 4496/week @ 2024-08-12 4227/week @ 2024-08-19 4405/week @ 2024-08-26 3705/week @ 2024-09-02 4505/week @ 2024-09-09 3211/week @ 2024-09-16 4855/week @ 2024-09-23 5221/week @ 2024-09-30 5064/week @ 2024-10-07 5162/week @ 2024-10-14 5118/week @ 2024-10-21 5996/week @ 2024-10-28 6373/week @ 2024-11-04

22,925 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–21MB
~296K SLoC