Rust

From Braindump
Jump to navigation Jump to search

cargo

curl -sSf https://sh.rustup.rs | sh

rustc hello.rs

cargo new foo

cargo new --lib bar


Cargo.toml

[package]

name = "foo"

version = "0.1.0"

authors = ["mark"]

[dependencies]

https://doc.rust-lang.org/rust-by-example/hello.html