workspace-dependency-management

Manages Rust workspace dependencies with version synchronization and MSRV compliance.

836|66|Updated Feb 3, 2025
One-click install
npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill workspace-dependency-management-kreuzberg-dev
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: workspace-dependency-management
Source: https://github.com/kreuzberg-dev/html-to-markdown/tree/main/.codex/skills/workspace-dependency-management
Command: npx skills add https://github.com/kreuzberg-dev/html-to-markdown --skill workspace-dependency-management-kreuzberg-dev

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This Skill provides a standardized approach to managing dependencies within Rust workspaces, ensuring version consistency and simplifying build processes.

Core Features & Use Cases

  • Centralized Versioning: Manages versions for core libraries and all bindings from a single source.
  • Dependency Synchronization: Facilitates updating versions across multiple crates and non-Rust manifests.
  • Use Case: Ensure that the Rust core library and its Python, Node.js, and WASM bindings are always released with the exact same version number.

Quick Start

Use the workspace-dependency-management skill to synchronize versions across all crates in the current workspace.

Frequently Asked Questions about workspace-dependency-management

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

FAQPage Schema
How do I synchronize dependency versions across a Rust Cargo workspace?

Cargo workspace dependency synchronization enforces version consistency across core libraries and bindings from a single centralized source. It ensures Rust core libraries and Python, Node.js, or WASM bindings release with the exact same version number.

Can I enforce Minimum Supported Rust Version (MSRV) compliance across multiple crates?

Yes, MSRV compliance is enforced across workspace crates during dependency management. The skill checks version synchronization against defined MSRV constraints while managing shared and path dependencies.

What is the best way to manage feature gates in a Rust workspace?

Feature gate management in a Rust workspace is handled by standardizing dependency definitions centrally. This approach coordinates feature activation across multiple crates and bindings to prevent build conflicts.

How do I update dependency versions in non-Rust manifests from a Cargo workspace?

Dependency synchronization facilitates updating versions across multiple Rust crates and non-Rust manifests. It propagates version changes from the centralized source to Python, Node.js, and WASM binding configurations.

Does this workspace dependency approach support explicit version ranges?

Yes, explicit version ranges are supported alongside shared and path dependencies. The skill manages these ranges within the Cargo workspace to maintain version synchronization and build stability.

Why are dependency version mismatches occurring between my Rust core library and bindings?

Version mismatches occur without centralized versioning across core libraries and bindings. Synchronizing dependencies from a single source ensures the Rust core library and Python, Node.js, or WASM bindings maintain identical version numbers.