rustup

Manage and configure Rust toolchains, components, and environment variables.

1.9k|133|Updated Apr 20, 2020
One-click install
npx skills add https://github.com/carapace-sh/carapace-bin --skill rustup
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: rustup
Source: https://github.com/carapace-sh/carapace-bin/tree/main/skills/rustup
Command: npx skills add https://github.com/carapace-sh/carapace-bin --skill rustup

SYSTEM DOCUMENTATION & REQUIREMENTS

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

What problem does it solve?

This Skill simplifies the management of Rust toolchains, enabling users to install, update, configure, and switch between multiple toolchains effortlessly.

Core Features & Use Cases

  • Toolchain Management: Install, update, uninstall, and switch between various Rust toolchains.
  • Component Configuration: Customize toolchains by adding or removing components like the compiler, package manager, and documentation.
  • Profile Selection: Choose the default installation profile to control the components added to new toolchains.
  • Environment Variables: Manage environment variables for toolchain resolution and configuration.
  • Quick Start: Use the 'rustup' skill to install the stable toolchain and add the 'rust-src' component for source code access.

Quick Start

Use the 'rustup' skill to install the stable Rust toolchain and set it as the default. Then, add the 'rust-src' component for source code access.

Frequently Asked Questions about rustup

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

FAQPage Schema
How do I install and set a default Rust toolchain for development?

To manage Rust toolchains, use this Skill to install the stable release and set it as the default. You can then add components like rust-src for source code access during your development workflow.

Can I switch between multiple Rust toolchains and customize their components?

Yes, this Skill allows you to switch between multiple Rust toolchains and customize them by adding or removing components. It manages toolchain profiles to control which components like the compiler and documentation are installed.

What are Rust environment variables and how do I configure them for toolchain resolution?

Rust environment variables dictate how toolchains are resolved and configured during builds. This Skill adjusts these environment variables to ensure the correct Rust compiler and components are targeted in your development environment.

Does managing the Rust toolchain require a specific setup before I start?

Yes, managing the Rust toolchain requires the rustup CLI and associated toolchains to be present on your system. This Skill applies to workflows requiring Rust toolchain management and customization once the base environment is ready.

What is the best way to add source code access to my Rust installation?

The best way to add source code access is by using this Skill to attach the rust-src component to your active Rust toolchain. This integrates source code directly into your environment for immediate reference.