Explain why certain things are marked
unsafe in Rust, and why we might need to use this escape hatch in certain (rare) situations.
Custom derive: "Macros 1.1"
Rust 1.15 added (stabilized) a new feature: Custom derive aka Macros 1.1.
Now apart from usual
Debug you can have
#[deriving(MyOwnDerive)]. Two primary users of the feature is serde and diesel.
Rust Book link: https://doc.rust-lang.org/stable/book/procedural-macros.html
Command Line Arguments
Rust's standard library does not contain a proper argument parser (unlike
argparse in Python), instead preferring to leave this to third-party crates. These examples will show the usage of both the standard library (to form a crude argument handler) and the
clap library which can parse command-line arguments more effectively.
Futures and Async IO
futures-rs is a library that implements zero-cost futures and streams in Rust.
The core concepts of the futures crate are Future and Stream.
rustup manages your rust installation and lets you install different versions, which can be configured and swapped easily.