Crates.io | cargo-deps-order |
lib.rs | cargo-deps-order |
version | 0.0.3 |
source | src |
created_at | 2024-10-21 16:26:16.30623 |
updated_at | 2024-10-21 17:40:41.114241 |
description | A Cargo subcommand to list dependencies in a workspace and execute commands on them. |
homepage | |
repository | https://github.com/piot/cargo-deps-order |
max_upload_size | |
id | 1417704 |
size | 20,575 |
Cargo Deps Order is a powerful Cargo subcommand designed to list all dependencies of your Rust project or workspace and execute custom commands on each dependency seamlessly. Whether you're managing a large workspace or a single project, this utility streamlines your workflow with ease and efficiency.
cargo install
You can easily install cargo-deps-list
using Cargo's install command:
cargo install cargo-deps-order
--workspace-only
Description: Show only dependencies within the workspace.
Usage:cargo deps-order --workspace-only
--exec <COMMAND>
Description: Command to execute for each dependency. Use {} as a placeholder for the dependency name and {version} for the dependency version.
Usage:cargo deps-order --exec "echo {} version {version}"
--wait <SECONDS>
Description: Number of seconds to wait between executing commands for each dependency.
Usage:cargo deps-order --exec "echo {}" --wait 2
-h, --help
Description: Print help information.
Usage:cargo deps-order --help
-V, --version
Description: Print version information.
Usage:cargo deps-order --version