Skip to content
/ rustx Public

Rustx invoke cargo-script.

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT
Notifications You must be signed in to change notification settings

liuchong/rustx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

rustx

Build Status APACHE licensed MIT licensed crates.io Released API docs

Rustx invoke cargo-script.

https://doc.rust-lang.org/reference/input-format.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!

About

Rustx invoke cargo-script.

Topics

Resources

License

Apache-2.0, MIT licenses found

Licenses found

Apache-2.0
LICENSE-APACHE
MIT
LICENSE-MIT

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages