Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/imagineeeinc/q-rust
Quick Rust is a light weight alternative to rust with a lot of native features missing, perfect for places where you can't use the compiler.
https://github.com/imagineeeinc/q-rust
Last synced: about 1 month ago
JSON representation
Quick Rust is a light weight alternative to rust with a lot of native features missing, perfect for places where you can't use the compiler.
- Host: GitHub
- URL: https://github.com/imagineeeinc/q-rust
- Owner: imagineeeinc
- License: mit
- Created: 2022-02-27T12:45:50.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-03-04T18:16:10.000Z (over 2 years ago)
- Last Synced: 2024-10-03T15:34:34.392Z (about 1 month ago)
- Language: JavaScript
- Homepage:
- Size: 8.79 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# QuickRust
Quick Rust is a light weight alternative to rust with a lot of native features missing, perfect for places where you can't use the compiler.
Inspired by [This](https://gist.github.com/badboy/222302b6b40ba6afc412).
## Installation
Simple as installing from npm
```shell
npm install -g q-rust
```## Usage
```shell
Usage: qrustInternet connection is required
Example: qrust src/main.rs
Options:
-h, --help Show this help message.
-v, --version Show version.
-w, --watch Watch file for changes.
--json load through json.
```### Qrust json input
qrust dosn't support input from std, so for that reason we provide a json based input system
JSON options:
```
{
"file": "path to rust file.rs",
"watch": false || true,
"var": ["list", "of vars"]
}
```you then access these variables through the `<%QRS_...%>` keyword, where the `...` is the var name.
you can run a json by swapping the file in the run command with the json location and adding the `--json` argument.
check out examples on using it [here](https://github.com/imagineeeinc/q-rust/tree/main/example)