packaging-rust-cargo-projects

Package Rust Cargo.toml projects with BuildStream make elements and cargo2 sources.

134|27|Updated Nov 16, 2025
One-click install
npx skills add https://github.com/projectbluefin/dakota --skill packaging-rust-cargo-projects
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: packaging-rust-cargo-projects
Source: https://github.com/projectbluefin/dakota/tree/main/.opencode/skills/packaging-rust-cargo-projects
Command: npx skills add https://github.com/projectbluefin/dakota --skill packaging-rust-cargo-projects

SYSTEM DOCUMENTATION & REQUIREMENTS

💡 This Skill includes references (resource) and scripts (resource) components.

What problem does it solve?

This Skill provides guidance on how to package Rust projects that use Cargo.toml within the BuildStream build system, ensuring efficient and offline dependency management.

Core Features & Use Cases

  • BuildStream Integration: Demonstrates how to use kind: make elements with cargo2 sources for Rust projects.
  • Offline Dependency Vendoring: Explains how to package crate dependencies for offline builds.
  • Use Case: You need to build a Rust application as part of a larger system image using BuildStream, and you want to ensure all its dependencies are correctly vendored for reproducible, offline builds.

Quick Start

Use the packaging-rust-cargo-projects skill to package a Rust project with a Cargo.toml file.

Frequently Asked Questions about packaging-rust-cargo-projects

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

FAQPage Schema
How do I package Rust projects with Cargo for offline builds in BuildStream?

To package Rust projects with Cargo for offline builds in BuildStream, use `kind: make` elements combined with `cargo2` sources to vendor crate dependencies and ensure reproducible system images.

What is the best way to vendor Cargo dependencies for reproducible Rust builds?

Vendoring Cargo dependencies for reproducible Rust builds is handled by utilizing `cargo2` sources within BuildStream, which fetches and locks crate dependencies to enable fully offline builds.

Can I use custom build commands and install patterns when packaging Rust applications in BuildStream?

Yes, you can use custom build commands and install patterns when packaging Rust applications in BuildStream. This Skill addresses scenarios requiring custom configurations and handling of upstream binary replacements.

Does BuildStream support Cargo.toml for integrating Rust projects into larger system images?

BuildStream supports Cargo.toml for integrating Rust projects into larger system images by using `kind: make` elements with `cargo2` sources to manage and vendor dependencies for offline builds.