Skip to content

SoftVarE-Group/mt-kahypar-sys

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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.