pub fn is_rust_source_dir(path: &Path) -> bool
Returns true if the given path is a directory containing .rs files but no Cargo.toml (i.e. a loose collection of Rust source files).
true
.rs
Cargo.toml