Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clay-6/calc-rs
A command-line calculator with everything you need
https://github.com/clay-6/calc-rs
calculator calculator-application math mathematics maths rust
Last synced: 3 days ago
JSON representation
A command-line calculator with everything you need
- Host: GitHub
- URL: https://github.com/clay-6/calc-rs
- Owner: Clay-6
- License: mit
- Created: 2022-05-28T12:57:08.000Z (over 2 years ago)
- Default Branch: master
- Last Pushed: 2022-06-22T20:09:15.000Z (over 2 years ago)
- Last Synced: 2024-10-29T00:51:15.367Z (21 days ago)
- Topics: calculator, calculator-application, math, mathematics, maths, rust
- Language: Rust
- Homepage: https://crates.io/crates/calcrs
- Size: 64.5 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# calc-rs
A command-line calculator written in Rust
## Installation
### Through Cargo
Ensure you have [rustup](https://rustup.rs) installed & the latest stable compiler through
`rustup update stable`. Then, run```shell
cargo install calcrs
```### Manual
Download the [latest GitHub release](https://github.com/Clay-6/calc-rs/releases/latest) and
move the executable to a directory on you `PATH` environment variable. Currently only Windows
executables are available. (See [Through Cargo](#through-cargo) or [Building from Source](#building-from-source)
for other platforms)### Windows Installer
Download the installer from the [latest GitHub release](https://github.com/Clay-6/calc-rs/releases/latest)
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](https://rustup.rs) 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.