rustc --version
main.rs
rustc main.rs
./main
cargo new hello_world
Cargo.toml
[package]
name = "hello_world"
version = "0.1.0"
authors = ["Your Name <you@example.com>"]
edition = "2018"
[dependencies]
src/main.rs
cargo build
./target/debug/hello_world
Hello, world!
[dependencies]
time = "0.1.12"
regex = "0.1.41"
ferris-says = "0.2"