Bu default crates with an src/main.rs will generate an executable program. However using the bin field in Cargo.toml we can designate other files to be converted to binary executables. Rust Digger should take that in account when deciding if a crate is binary or library.
Bu default crates with an
src/main.rs
will generate an executable program. However using the bin field inCargo.toml
we can designate other files to be converted to binary executables. Rust Digger should take that in account when deciding if a crate is binary or library.