Skip to content

Latest commit

 

History

History
38 lines (25 loc) · 666 Bytes

README.md

File metadata and controls

38 lines (25 loc) · 666 Bytes

calclib

This is the pure Rust library without any pyo3 or jni dependencies.
This package contains all the logic and is intended to be used in other Rust projects.

Build the library in debug mode with

cargo build

and in release mode with

cargo build --release

Run tests with

cargo test

Run the example with

cargo run --example calculator -- +1.5 -0.9

Benchmarks

The example calc.rs in benches shows how to implement benchmarking with criterion.

Run the benchmarks with the following command

cargo bench