1 unstable release

0.0.0 Feb 15, 2019

#13 in #cargo-script

MIT/Apache

7KB

reventsource

Build Status

Rustx invoke cargo-script.

https://doc.rust-lang.org/reference/crates-and-source-files.html

Usage

  1. cargo install rustx, cargo install cargo-script

  2. create a file, for example, hello.rs as below, then chmod +x hello.rs, ./hello.rs.

#!/usr/bin/env rustx

fn main() {
    println!("Hello!");
}

License

Licensed under either of these:

Contributing

Please sign a cla, thanks!

No runtime deps