Skip to content

Latest commit

 

History

History
33 lines (20 loc) · 920 Bytes

README.md

File metadata and controls

33 lines (20 loc) · 920 Bytes

mt-kahypar-sys

Rust bindings to Mt-KaHyPar.

This Rust crate links the C interface of Mt-KaHyPar.

Usage

Add it as a dependency to your Cargo.toml:

[dependencies]
mt-kahypar-sys = "0.1"

Requirements

Note: Currently, Mt-KaHyPar can not be built statically. Therefore, bundling it with the crate is not possible and the shared library has to be present.

Using existing Mt-KaHyPar

When using an already built version of Mt-KaHyPar (currently required), the environment variable MTKAHYPAR_DIR might be used to point to a directory containing it. This directory must contain include and lib or lib64 subdirectories with header and library files respectively.

FFI

Currently, this crate only builds and links the C interface. No FFI functionality is available right now.