#calculator #command-line #everything

bin+lib calcrs

A command-line calculator with everything you need

4 stable releases

2.2.1 Jun 22, 2022
2.2.0 May 29, 2022
2.1.2 May 28, 2022

#1452 in Math

MIT license

12KB
229 lines

calc-rs

A command-line calculator written in Rust

Installation

Through Cargo

Ensure you have rustup installed & the latest stable compiler through rustup update stable. Then, run

cargo install calcrs

Manual

Download the latest GitHub release and move the executable to a directory on you PATH environment variable. Currently only Windows executables are available. (See Through Cargo or Building from Source for other platforms)

Windows Installer

Download the installer from the latest GitHub release and run it. All necessary changes to your PATH will be made for you.

Building from Source

Ensure you have the latest stable Rust version. For example, using rustup run rustup update stable. Then, simply run cargo run to run a debug version, or cargo run --release for a release version. Run cargo build or cargo build --release to generaten executable file without immediately running it.

Dependencies

~4MB
~83K SLoC