CLI tool for the Rust Playground.
This is for the Rust PlayGround, so let's call it "RPG".
MSRV is the latest stable.
From crates.io:
# executable as `rpg`
cargo install rpg-cli
From main
branch:
cargo install --git https://github.com/JohnTitor/rpg --branch main
See also rpg --help
.
Run your code on the Rust Playground:
rpg run -f <file-name>
Or, open your default browser with given code:
rpg run --open -f <file-name>
Generate permanent playground URL with given code:
rpg share -f <file-name>
This project is licensed under either of
- Apache License, Version 2.0, (LICENSE-APACHE or https://www.apache.org/licenses/LICENSE-2.0)
- MIT license (LICENSE-MIT or https://opensource.org/licenses/MIT)
at your option.
Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in this project by you, as defined in the Apache-2.0 license, shall be dual licensed as above, without any additional terms or conditions.