19 releases (10 breaking)

new 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

#93 in Web programming

Download history 917/week @ 2023-12-23 798/week @ 2023-12-30 1879/week @ 2024-01-06 2353/week @ 2024-01-13 1546/week @ 2024-01-20 1461/week @ 2024-01-27 1535/week @ 2024-02-03 1549/week @ 2024-02-10 1427/week @ 2024-02-17 1333/week @ 2024-02-24 1713/week @ 2024-03-02 4331/week @ 2024-03-09 3657/week @ 2024-03-16 3768/week @ 2024-03-23 4886/week @ 2024-03-30 3138/week @ 2024-04-06

15,888 downloads per month
Used in 35 crates (30 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
~322K SLoC