cargo-script 0.2.8

A Cargo subcommand designed to let people quickly and easily run Rust "scripts" which can make use of Cargo's package ecosystem.
1
2
3
4
5
6
7
8
9
10
11
#{prelude}

fn main() {
    match {#{script}} {
        script_result => {
            let text = script_result.to_string();
            let text = text.to_uppercase();
            println!("{}", text);
        }
    }
}