cargo-tree Verified for current stable LTS

Cargo Tree Command: Prune Package From Dependency Tree

Use for prune package from dependency tree with Cargo Tree. Exact CLI syntax to prune package from dependency tree using Cargo Tree.

When to use this: Use for prune package from dependency tree with Cargo Tree.

Command Syntax

cargo tree --prune <package_spec>

Command Breakdown

--prune
Command Option
Tool-specific option used by this command invocation.

FAQ

Purpose: Exact syntax to prune package from dependency tree using Cargo Tree.

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 Tree directory