9 releases (5 breaking)
0.6.1 | Mar 4, 2025 |
---|---|
0.5.6 |
|
0.5.2 |
|
0.4.2 | Jun 25, 2024 |
0.1.0 | Dec 8, 2023 |
#5 in #d4
148 downloads per month
19MB
235K
SLoC
Contains (ELF exe/lib, 10MB) d4_static, (ELF exe/lib, 4MB) preproc_static
d4-oxide
A Rust wrapper around d4.
Usage
Add it as a dependency to your Cargo.toml:
[dependencies]
d4-oxide = "0.5"
Requirements
- Mt-KaHyPar
- Boost
- GMP (with C++ bindings)
- MPFR
These dependencies can be made available in a Nix development shell coming with this repository:
nix develop
Alternatively, to point to the directories containing Mt-KaHyPar, the following environment variables can be used:
Variable | Meaning |
---|---|
MTKAHYPAR_ROOT |
Contains include and lib or lib64 subdirectories with the corresponding content. |
MTKAHYPAR_INCLUDE |
Contains the header files. |
MTKAHYPAR_LIB |
Contains library files. |
Dependencies
~1.7–3.5MB
~62K SLoC