pub fn create_dist(dir: &Path) -> Result<(), ExecutionError> {
    let target = dir.join("dist");
    if !target.exists() {
        fs::create_dir(target).map_err(|err| ExecutionError::CreateDistFailed { source: err })?;
    }
    Ok(())
}
Creates the `dist/` directory in the project root, which is necessary
for Cargo to be able to put its build artifacts in there.
packages/perseus-cli/src/lib.rs