Re-exportsยง
pub(crate) use std::cmp::Ordering;๐pub(crate) use BTreeMap;๐pub(crate) use BTreeSet;๐pub(crate) use std::env;๐pub(crate) use std::env;๐pub(crate) use std::fs;๐pub(crate) use Hash;๐pub(crate) use Hash;๐pub(crate) use Hasher;๐pub(crate) use io;๐pub(crate) use Write;๐pub(crate) use Path;๐pub(crate) use PathBuf;๐pub(crate) use std::process::Command;๐pub(crate) use std::str;๐pub(crate) use cargo_metadata::Edition;๐pub(crate) use CommandFactory;๐pub(crate) use Parser;๐
Structsยง
Enumsยง
Constantsยง
- FAILURE ๐
- MESSAGE_
FORMATS ๐ - 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 - is_
nightly ๐ - main ๐
- print_
usage_ ๐to_ stderr - run_
rustfmt ๐ - rustfmt_
command ๐