Open
Description
Is it possible to use external modules? If yes, then it may make sense to document how.
Example:
% cat ./main.rs
mod other;
fn main() {
other::hello();
}
% cat ./other.rs
pub fn hello() {
println!("How are you?");
}
For comparison, cargo-play handles it like this. I can run the aforementioned two modules via cargo play *.rs