rust-crate-versions

Fetches latest non-yanked crate versions from crates.io for Rust projects.

4|1|Updated Apr 19, 2016
One-click install
npx skills add https://github.com/praveenperera/dotfiles --skill rust-crate-versions
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rust-crate-versions
Source: https://github.com/praveenperera/dotfiles/tree/main/claude/skills/rust-crate-versions
Command: npx skills add https://github.com/praveenperera/dotfiles --skill rust-crate-versions

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Retrieves and supplies the latest, non-yanked versions of Rust crates from crates.io to simplify maintaining Cargo.toml dependencies and avoiding stale or broken versions.

Core Features & Use Cases

  • Fetch latest crate versions from crates.io for new projects and dependency updates.
  • Provide ready-to-paste Cargo.toml entries or version strings in multiple formats (toml, json, plain).
  • Support exact version pinning with an easy-to-use flag and help determine compatibility with existing projects.

Quick Start

Ask me to fetch the latest versions for crates like serde, tokio, and eyre to populate Cargo.toml.

Frequently Asked Questions about rust-crate-versions

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I fetch the latest Rust crate versions for Cargo.toml?

You can fetch the latest Rust crate versions for Cargo.toml by retrieving non-yanked versions directly from crates.io, simplifying dependency management and avoiding stale or broken dependencies.

Can I get ready-to-paste dependency entries from crates.io in TOML format?

Yes, you can get ready-to-paste Cargo.toml entries by fetching crate versions from crates.io, which supports output in TOML, JSON, or plain text formats.

How do I pin exact crate versions when updating Rust dependencies?

To pin exact Rust crate versions when updating dependencies, use an easy-to-use flag to lock specific versions fetched from crates.io for your Cargo.toml file.

Does this dependency management approach filter out yanked crates?

Yes, this dependency management approach filters out yanked crates by fetching only the latest non-yanked versions from crates.io to prevent using broken or retracted packages.

What is the best way to check current crate versions for a new Rust project?

The best way to check current crate versions for a new Rust project is to query crates.io for the latest non-yanked releases and generate ready-to-paste Cargo.toml entries.