Perform calculations with numbers, while unit-calc takes care of the units. With full type-safety.
/// 50 mg/l * 100 ml = 5 mg
const MassPerVolume(50, MassUnit.milliGram, VolumeUnit.liter) *
const Volume(100, VolumeUnit.milliLiters) == const Mass.milliGrams(5) // true
There are a few dependencies that this project uses. Recommended installation is through Cargo.
- just, to run certain commands
- grcov, to aggregates code coverage information.
- watchexec, to run commands when file changes.
view the justfile for a list of available commands.