cargo-remove Verified for current stable LTS

Cargo Remove Command: Remove Dev Or Build Dependency

Use for remove dev or build dependency with Cargo Remove. Exact CLI syntax to remove dev or build dependency using Cargo Remove.

When to use this: Use for remove dev or build dependency with Cargo Remove.
Destructive Command Warning

Destructive operation. Confirm the target path and keep a backup before executing.

Command Syntax

cargo remove --<dev|build> <dependency>

Command Breakdown

--<dev|build>
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to remove dev or build dependency using Cargo Remove.

Test path: Replace placeholders and run destructive commands in a disposable workspace first.

Flag behavior: Tool version, platform, and shell can change behavior.

Improve This Command

Suggest a correction, safer default, or version-specific note for this entry.

Related Operations

Back to Cargo Remove directory