☰
cargo_fmt
1.75.0-dev
All Items
Structs
Enums
Constants
Functions
?
Crate
cargo_fmt
source
·
[
−
]
Structs
Opts
Target
Target uses a
path
field for equality and hashing.
Enums
CargoFmtStrategy
Verbosity
Constants
FAILURE
🔒
SUCCESS
🔒
Functions
add_targets
🔒
convert_message_format_to_rustfmt_args
🔒
execute
🔒
format_crate
🔒
get_cargo_metadata
🔒
get_rustfmt_info
🔒
get_targets
🔒
Based on the specified
CargoFmtStrategy
, returns a set of main source files.
get_targets_recursive
🔒
get_targets_root_only
🔒
get_targets_with_hitlist
🔒
handle_command_status
🔒
main
🔒
print_usage_to_stderr
🔒
run_rustfmt
🔒
rustfmt_command
🔒