rust-crates-index

crates-index on Crates.io

Library for retrieving and interacting with the crates.io registry git-based index.

Documentation

Example

```rust let index = cratesindex::Index::newcargo_default()?;

for cratereleases in index.crates() { let _ = cratereleases.latestversion(); // any version most recently published let crateversion = cratereleases.highestversion(); // max version by semver println!("crate name: {}", crateversion.name()); println!("crate version: {}", crateversion.version()); } ```

Migration from 0.16 and 0.17

Similar crates

License

Licensed under version 2 of the Apache License