rust_slvs
Rust binding for SolveSpace's geometric constraint solver library.
Using rust_slvs
Prerequisites
-
Needed to compile SolveSpace using the cc library.
To use as a library
-
Add the crate to your
Cargo.toml.[] = { = "https://github.com/thekakkun/rust_slvs.git" } -
You may need to create a Cargo configuration file (
.cargo/config.toml) so that all submodules can be downloaded.[] = true # use the `git` executable for git operations
To Build
-
Check out any necessary submodules
git submodule update --init --recursive -
Run the build command
cargo build