Rust

Install

curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
source $HOME/.cargo/env

Create a new project using

$ cargo new hello_world --bin # for a binary
$ cargo new hello_world       # for a library

Exercises

Reference

List folders recursively

Using the glob crate:

use glob::glob;

fn main() {

    for entry in glob("./**/*.md").expect("Failed to read glob pattern") {
        match entry {
            Ok(path) => println!("{:?}", path.display()),
            Err(e) => println!("{:?}", e),
        }
    }
}