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

#286 in Machine learning

Download history 11/week @ 2024-09-25 2/week @ 2024-10-16 11/week @ 2024-10-23 2/week @ 2024-10-30 1/week @ 2024-11-06 1/week @ 2024-11-20 297/week @ 2024-11-27 306/week @ 2024-12-04 104/week @ 2024-12-11 32/week @ 2024-12-18 28/week @ 2024-12-25 116/week @ 2025-01-01 42/week @ 2025-01-08

224 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