The first thing we need is a project, so lets start by creating one:
$ mkdir hello-rust $ cd hello-rust/ $ cargo init –bin Created binary (application) `hello` project $ ls Cargo.toml src target
Cargo created two files for us: the Cargo.toml file that contains metadata about our project and the src directory which holds all of our source code. The target directory will be used later when we compile our application into an executable but it can safely be ignored for now
https://t.co/tsWS9UlZ6j