No main
function was found in a binary crate. To fix this error, add a main
function. For example:
fn main() { // Your program will start here. println!("Hello world!"); }
If you don't know the basics of Rust, you can go look to the Rust Book to get started: https://doc.rust-lang.org/book/