q-rust

0.1.0 • Public • Published

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.

Installation

Simple as installing from npm

npm install -g q-rust

Usage

Usage: qrust <file>

        Internet 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

Dependencies (4)

Dev Dependencies (0)

    Package Sidebar

    Install

    npm i q-rust

    Weekly Downloads

    2

    Version

    0.1.0

    License

    MIT

    Unpacked Size

    6.46 kB

    Total Files

    5

    Last publish

    Collaborators

    • imagineee