slvs

Crates.ioslvs
lib.rsslvs
version0.6.0
sourcesrc
created_at2023-04-04 20:53:32.340544
updated_at2023-06-20 18:04:15.035447
descriptionRust wrapper for the SolveSpace constraint solver library.
homepage
repositoryhttps://github.com/thekakkun/rust_slvs
max_upload_size
id830459
size9,152,941
Hiroto Kaku (thekakkun)

documentation

README

rust_slvs

Rust binding for SolveSpace's geometric constraint solver library.

Documentation

Using slvs

Prerequisites

  • A C compiler

    The SolveSpace library is compiled using cc, which requires a C compiler.

    See here for more information.

  • libclang

    Bindings from C to Rust are generated using bindgen, which requires libclang. On Windows, the environment variable LIBCLANG_PATH will need to be set, pointing to the location of the clang library.

    See here for more information.

To add to your project

Run the following Cargo command in your project directory:

cargo add slvs

To Build

  1. Check out any necessary submodules

    git submodule update --init --recursive
    
  2. Run the build command

    cargo build
    
Commit count: 300

cargo fmt