Rink

Rink is a unit-aware calculator. It can be used for physics and engineering calculations, as well as dimensionality analysis.

Rink supports most systems of measurements including SI, CGS, natural, international customary, US customary, UK customary, as well as historical measurements. In addition, Rink supports currency conversions.

Unique features:

Manual

Describes (hopefully) everything you need to know to use Rink's expression language.

Web Interface

Rink is available via the web, so that you don't have to install it.

Install

cargo install rink

Running rink will give you a CLI interface for you to enter queries.

Examples

```

kWh/year -> W 0.1140795 watt (power) ```

```

W -> J Conformance error: 1 watt (power) != 1 joule (energy) Suggestions: multiply left side by time, multiply right side by frequency ```

```

gallon gasoline -> kWh approx. 36.63388 kWh (energy) ```

```

googol^100 1.0e10000 (dimensionless) ```

Library Usage

Add this to your Cargo.toml:

toml [dependencies] rink = "0.4"

and this to your crate root:

rust extern crate rink;

License

Rink source code is licensed under the Mozilla Public License, version 2. See LICENSE-MPL for details.

The data file definitions.units is licensed under the GNU General Public License, version 3. See LICENSE-GPL for details.

Contribution

Unless you explicitly state otherwise, any contribution intentionally submitted for inclusion in the work will grant the rights lined out in the MPL, including larger works with secondary licenses.

Changelog

0.4.1

0.4.0

0.3.2

0.3.1

0.3.0

0.2.0

0.1.1

0.1.0