cargo-update
Verified for current stable LTS
Cargo Update Command: Update Dependency To Specific Version
Use for update dependency to specific version with Cargo Update. Exact CLI syntax to update dependency to specific version using Cargo Update.
When to use this: Use for update dependency to specific version with Cargo Update.
Command Syntax
cargo update --package <dependency> --precise <1.2.3> cargo update --package <dependency> --precise <1.2.3> Command Breakdown
--package- Command Option
- Tool-specific option used by this command invocation.
--precise- Command Option
- Tool-specific option used by this command invocation.
FAQ
Purpose: Exact syntax to update dependency to specific version using Cargo Update.
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
Cargo Update Command: Dry Run Update Dependencies
cargo update -n Cargo Update Command: Update All Dependencies cargo update Cargo Update Command: Update Specific Dependencies cargo update --package <dependency1> --package <dependency2> --package <dependency3> Bunx Command: Execute Binary With Different Name Than Package bunx -p <package_name> <command> Cargo Doc Command: Build And View Documentation For Package cargo d --open -p <package>