Crates.io | crates-index |
lib.rs | crates-index |
version | |
source | src |
created_at | 2015-05-27 04:22:23.122022 |
updated_at | 2024-12-11 07:59:38.659907 |
description | Library for retrieving and interacting with the crates.io index |
homepage | https://crates.io/crates/crates-index |
repository | https://github.com/frewsxcv/rust-crates-index |
max_upload_size | |
id | 2231 |
Cargo.toml error: | TOML parse error at line 29, column 1 | 29 | autolib = false | ^^^^^^^ unknown field `autolib`, expected one of `name`, `version`, `edition`, `authors`, `description`, `readme`, `license`, `repository`, `homepage`, `documentation`, `build`, `resolver`, `links`, `default-run`, `default_dash_run`, `rust-version`, `rust_dash_version`, `rust_version`, `license-file`, `license_dash_file`, `license_file`, `licenseFile`, `license_capital_file`, `forced-target`, `forced_dash_target`, `autobins`, `autotests`, `autoexamples`, `autobenches`, `publish`, `metadata`, `keywords`, `categories`, `exclude`, `include` |
size | 0 |
Library for retrieving and interacting with the crates.io registry index using either the git
or sparse
protocol.
The index contains metadata for all Rust libraries and programs published on crates.io: their versions, dependencies, and feature flags.
let index = crates_index::GitIndex::new_cargo_default()?;
for crate_releases in index.crates() {
let _ = crate_releases.most_recent_version(); // newest version
let crate_version = crate_releases.highest_version(); // max version by semver
println!("crate name: {}", crate_version.name());
println!("crate version: {}", crate_version.version());
}
Please find the changelog in CHANGELOG.md.
tame-index
- a hard fork with many improvements and advantagescrates_io_api
- a way to talk to the HTTP API of crates.ioLicensed under version 2 of the Apache License