Put other.rs
file into bin
subfolder of src
folder (./src/bin/other.rs
). And run cargo build --bin other
or cargo run --bin other
Put other.rs
file into bin
subfolder of src
folder (./src/bin/other.rs
). And run cargo build --bin other
or cargo run --bin other