9 unstable releases (4 breaking)

new 0.5.6 Dec 8, 2024
0.5.4 Dec 7, 2024
0.5.2 Nov 29, 2024
0.4.2 Jun 25, 2024
0.1.0 Dec 8, 2023

#279 in Machine learning

Download history 142/week @ 2024-08-18 34/week @ 2024-08-25 1/week @ 2024-09-01 22/week @ 2024-09-15 23/week @ 2024-09-22 4/week @ 2024-10-20 9/week @ 2024-10-27 3/week @ 2024-11-03 169/week @ 2024-11-24 299/week @ 2024-12-01

468 downloads per month

LGPL-3.0-or-later

19MB
235K SLoC

C++ 163K SLoC // 0.1% comments FORTRAN Legacy 23K SLoC // 0.4% comments C 18K SLoC // 0.1% comments VB6 11K SLoC Python 10K SLoC // 0.2% comments Shell 4.5K SLoC // 0.1% comments CUDA 3.5K SLoC // 0.1% comments Solidity 1K SLoC SQL 402 SLoC // 0.0% comments JavaScript 220 SLoC // 0.1% comments Rust 194 SLoC // 0.0% comments XSL 115 SLoC Forge Config 73 SLoC // 0.4% comments

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

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.3–3MB
~52K SLoC