vector_quantizer is both an executable binary that can be run, and a library that can be used in Rust programs.

Installing example quality_check readme_example executables

Assuming you have Rust/Cargo installed, run this command in a terminal:

cargo install vector_quantizer

It will make example quality_check readme_example commands available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall vector_quantizer uninstalls.

Adding vector_quantizer library as a dependency

Run this command in a terminal, in your project's directory:

cargo add vector_quantizer

To add it manually, edit your project's Cargo.toml file and add to the [dependencies] section:

vector_quantizer = "0.0.3"

The vector_quantizer library will be automatically available globally. Read the vector_quantizer library documentation.

Back to the crate overview.