🏷 rustlang

Snippets, tricks and reference notes for Rust language, Cargo and related projects

Rust Libraries

1 min read
NetworkingReqwest is an ergonomic, batteries-included HTTP Client for Rust. Plain bodies, JSON, urlencoded, multipart, Customizable redirect policy, HTTP Proxies, HTTPS via system-native TLS (or optionally, rustls), Cookie Store, WASM. Rustls is a modern TLS l…▷ read more

Rust

7 min read
Getting startedInstall via script # install curl https://sh.rustup.rs -aSf | sh source $HOME/.cargo/env export PATH="$HOME/.cargo/bin:$PATH" # check installation cargo -V rustc -V Create a template project via command cargo new --bin hello-world or cargo init…▷ read more