4 releases (2 breaking)
0.6.0 | Jun 20, 2023 |
---|---|
0.5.1 | May 1, 2023 |
0.5.0 | May 1, 2023 |
0.0.0 | Apr 4, 2023 |
#1804 in Math
35 downloads per month
2.5MB
57K
SLoC
rust_slvs
Rust binding for SolveSpace's geometric constraint solver library.
Using slvs
Prerequisites
-
A C compiler
The SolveSpace library is compiled using cc, which requires a C compiler.
-
libclang
Bindings from C to Rust are generated using bindgen, which requires
libclang
. On Windows, the environment variableLIBCLANG_PATH
will need to be set, pointing to the location of the clang library.
To add to your project
Run the following Cargo command in your project directory:
cargo add slvs
To Build
-
Check out any necessary submodules
git submodule update --init --recursive
-
Run the build command
cargo build