Rust binding for SolveSpace's geometric constraint solver library.
Needed to compile SolveSpace using the cc library.
Add the crate to your Cargo.toml
.
toml
[dependencies]
slvs = { git = "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.
toml
[net]
git-fetch-with-cli = true # use the `git` executable for git operations
Check out any necessary submodules
shell
git submodule update --init --recursive
Run the build command
shell
cargo build