Crates.io | playrs |
lib.rs | playrs |
version | 0.3.0 |
source | src |
created_at | 2022-01-29 14:13:41.617727 |
updated_at | 2022-02-09 11:14:57.392844 |
description | Call the interface of rust playground to compile and run the rust code. |
homepage | |
repository | https://github.com/night-cruise/playrs |
max_upload_size | |
id | 523639 |
size | 38,014 |
Call the interface of rust playground to compile and run the rust code.
cargo install playrs
Enter playrs - h
on the command line to view the detailed usage commands:
Play Rust 0.3.0
Compile and run your rust code
USAGE:
playrs.exe [FLAGS] [OPTIONS] <file>
FLAGS:
-b, --backtrace Whether to enable backtrace
-h, --help Prints help information
-t, --tests Whether it is a test
-V, --version Prints version information
OPTIONS:
-c, --channel <channel> Compile channel: stable, nightly or beta [default: stable]
-e, --edition <edition> Compile edition: 2015, 2018 or 2021 [default: 2021]
-m, --mode <mode> Compile mode: debug or release [default: debug]
-p, --program-type <program-type> Crate type: bin or lib [default: bin]
ARGS:
<file> rust code file
playrs rustfile.rs
0.2.0
: Add validation for command line arguments.0.3.0
: Add waiting animation.This project is licensed under the MIT License (see the LICENSE file for details).