# [Ingey](https://git.michaelpivato.dev/vato007/ingey)

A super fast, simple base for building analytics applications.

## CLI

A basic CLI is available to run a graph and a subset of analytics workloads.
In development environments, use `cargo run --bin cli -- -h` for more information.

### Generating the JSON schema:

`cargo run --bin cli -- generate-schema`

The schema will be written to a schema.json file.

## General Notes

Setting the number of threads in overhead allocation: set RAYON_NUM_THREADS environment
variable ([doc](https://github.com/rayon-rs/rayon/blob/master/FAQ.md)).
Note multithreading is only currently used to calculate allocation percentages.

## Building Webassembly modules

Currently there's one webassembly module, move-money-dynamic. This can be built by running the following command:

`cargo component build --target wasm32-unknown-unknown --release -p move-money-dynamic`

Note that in order to run the 