3 unstable releases
0.2.0 | Mar 25, 2021 |
---|---|
0.1.1 | Mar 16, 2021 |
0.1.0 | Dec 15, 2020 |
#19 in #playground
16KB
310 lines
RPG - CLI tool for the Rust Playground
CLI tool for the Rust Playground.
This is for the Rust PlayGround, so let's call it "RPG".
MSRV policy
MSRV is the latest stable.
Installation
From crates.io:
# executable as `rpg`
cargo install rpg-cli
From main
branch:
cargo install --git https://github.com/JohnTitor/rpg --branch main
Usage
See also rpg --help
.
Run
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>
Share
Generate permanent playground URL with given code:
rpg share -f <file-name>
License
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.
Contributions
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.
Dependencies
~4–16MB
~217K SLoC