Installing Rant

The easiest way to install Rant is with Cargo. These instructions should be exactly the same for Windows, Mac, and Linux.

Verify your Cargo installation and then type the following into your favorite shell:

cargo install rant --all-features

If you are installing a prerelease version, you will also need to add a --version option with the desired version number. For example, if you wanted to install the 6th alpha release, you would add --version=4.0.0-alpha.6.

Once Rant has finished installing, you can run the CLI in REPL mode by typing rant in your shell and pressing Enter.

You should be greeted by a prompt similar to the one shown below:

Rant 4.0.0-alpha.6 (x86_64-pc-windows-msvc)
Run this tool with --help for available options.
>>

If this displays, Rant is installed and working! You can now type Rant code and press Enter to see its output.

Using Rant in your application or library

Chances are good that you are a developer interested in integrating Rant into your program. Perfect! This is even easier than installing it as a standalone application.

Rust

Since Rant is written in Rust, importing it into your Rust project is as simple as adding the following line to the dependencies section of your Cargo.toml:

rant = "*"

That's it!

Other languages

As of writing this, Rant does not currently have any wrappers for usage in other languages; however, priority will be given to developing .NET and WebAssembly wrappers in the near future. Be sure to keep an eye out!