cargo run
all
Run the current Cargo package. Note: The working directory of the executed binary will be set to the current working directory.
More info →Options (2)
booleanRun the default binary target
Example:
cargo {{[r|run]}}-F, --featuresbooleanActivate a space or comma separated list of features
Example:
cargo {{[r|run]}} {{[-F|--features]}} "{{feature1 feature2 ...}}"Examples (7)
Run the default binary target
cargo [r|run]Run the specified binary
cargo [r|run] --bin nameRun the specified example
cargo [r|run] --example nameActivate a space or comma separated list of features
cargo [r|run] [-F|--features] "feature1 feature2 ..."Disable the default features
cargo [r|run] --no-default-featuresActivate all available features
cargo [r|run] --all-featuresRun with the given profile
cargo [r|run] --profile namemade by @shridhargupta | data from tldr-pages