[package] name = "metis-sys" version = "0.3.2" authors = ["Hubert Hirtz ", "Cedric Chevalier "] edition = "2021" license = "MIT OR Apache-2.0" repository = "https://github.com/LIHPC-Computational-Geometry/metis-rs" description = "Raw FFI to METIS, the serial graph partitioner and fill-reducing matrix orderer" readme = "../README.md" categories = ["external-ffi-bindings", "mathematics"] keywords = ["graph", "mesh", "matrix", "partitioning", "ordering"] [features] default = ["vendored", "force-optimize-vendor"] # Build and statically link to METIS and GKLib. vendored = ["dep:cc"] # Use existing METIS install and links dynamically to it. use-system = ["bindgen"] # Regenerate bindings in metis-sys/gen/bindings.rs from METIS in the "vendor" # directory. Also enables "vendored". generate-bindings = ["vendored", "bindgen"] # Force Metis to be optimized and to not follow the current profile for Rust # Therefore, debug or dev build lead to correct performance. force-optimize-vendor = ["vendored"] [build-dependencies] bindgen = { version = "0.69", default-features = false, features = ["runtime"], optional = true } cc = { version = "1", features = ["parallel"], optional = true }