mod utils
- module utils
Functions
- fn check_for_manifest(paths: Vec<&Path>) -> Option<(PathBuf, CargoManifest)>
Check the provided paths for the Cargo.toml file.
- Returns:
A Some value of the path that contained the Cargo manifest and the associated manifest for the first path contains a
Cargo.tomlfile.
Structs and Unions
- struct CargoManifest(Manifest)
Newtype struct for the Cargo manifest from cargo_toml
Functions
- fn executable_files(&self, crate_dir: &Path) -> Vec<SourceCodeFile>
Get all the executable files in the crate.
- fn lib_file(&self, crate_dir: &Path) -> Option<SourceCodeFile>
Get the library file for the crate, if any.