rfast 1.0.0

Run Rust files like scripts — instant caching, inline dependencies, zero boilerplate
1
2
3
4
5
6
7
8
9
10
#!/usr/bin/env run-cargo-script
// cargo-deps: time="0.1.25", colored="2.0"

extern crate time;
use colored::*;

fn main() {
    println!("{}", "Hello from cargo-script short format!".green());
    println!("Current time: {}", time::now().rfc822z());
}