Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/theduke/crates-io-api
API client for crates.io, the Rust crate registry.
https://github.com/theduke/crates-io-api
api-client rust
Last synced: 5 days ago
JSON representation
API client for crates.io, the Rust crate registry.
- Host: GitHub
- URL: https://github.com/theduke/crates-io-api
- Owner: theduke
- License: apache-2.0
- Created: 2017-05-14T07:56:44.000Z (over 7 years ago)
- Default Branch: main
- Last Pushed: 2024-10-16T05:40:56.000Z (2 months ago)
- Last Synced: 2024-12-15T03:02:19.178Z (12 days ago)
- Topics: api-client, rust
- Language: Rust
- Homepage:
- Size: 188 KB
- Stars: 73
- Watchers: 5
- Forks: 30
- Open Issues: 6
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- License: LICENSE-APACHE
Awesome Lists containing this project
README
# crates-io-api
[![Crate][cratesioimg]][cratesio]
[![API Docs][docsrsimg]][docsrs][cratesio]: https://crates.io/crates/crates_io_api
[cratesioimg]: https://img.shields.io/crates/v/crates_io_api.svg
[docsrs]: https://docs.rs/crates_io_api
[docsrsimg]: https://img.shields.io/badge/current-docs-brightgreen.svg
[crawlerpolicy]: https://crates.io/policies#crawlers
[reqwest]: https://github.com/seanmonstar/reqwestA Rust API client for the [crates.io](https://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][reqwest] HTTP client and provides both an async
and synchronous interface.Please consult the official [Crawler Policy][crawlerpolicy] before using this
library.
A rate limiter is included and enabled by default.## Usage
For usage information and examples, check out the [Documentation][docsrs].
### rustls
By default the system TLS implementation is used.
You can also use [rustls](https://github.com/rustls/rustls).
`Cargo.toml:`
```
[dependencies]
crates_io_api = { version = "?", default-features = false, features = ["rustls"] }
```