9 unstable releases (4 breaking)

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

#254 in Machine learning

Download history 33/week @ 2024-08-26 26/week @ 2024-09-16 19/week @ 2024-09-23 13/week @ 2024-10-21 3/week @ 2024-11-04 187/week @ 2024-11-25 306/week @ 2024-12-02 546/week @ 2024-12-09

1,039 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
~53K SLoC