-
Notifications
You must be signed in to change notification settings - Fork 8
/
Cargo.toml
33 lines (26 loc) · 1.21 KB
/
Cargo.toml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
[package]
name = "metis-sys"
version = "0.3.1"
authors = ["Hubert Hirtz <hubert@hirtz.pm>", "Cedric Chevalier <cedric.chevalier@cea.fr>"]
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 }