Thanks to visit codestin.com
Credit goes to lib.rs

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

Installing optimize_2d_graph optimize_3d_graph executables

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

cargo install apex-solver

It will make optimize_2d_graph optimize_3d_graph commands available in your PATH if you've allowed the PATH to be modified when installing Rust. cargo uninstall apex-solver uninstalls.

Adding apex_solver library as a dependency

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

cargo add apex-solver

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

apex-solver = "0.1.6"

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

Back to the crate overview.