Function cargo_fmt::get_targets

source ยท
pub(crate) fn get_targets(
    strategy: &CargoFmtStrategy,
    manifest_path: Option<&Path>,
) -> Result<BTreeSet<Target>, Error>
Expand description

Based on the specified CargoFmtStrategy, returns a set of main source files.