9 releases (5 breaking)

0.6.1 Mar 4, 2025
0.5.6 Dec 8, 2024
0.5.2 Nov 29, 2024
0.4.2 Jun 25, 2024
0.1.0 Dec 8, 2023

#5 in #d4

Download history 187/week @ 2024-11-25 306/week @ 2024-12-02 203/week @ 2024-12-09 33/week @ 2024-12-16 39/week @ 2024-12-23 97/week @ 2024-12-30 44/week @ 2025-01-06 17/week @ 2025-01-13 73/week @ 2025-01-20 106/week @ 2025-01-27 2/week @ 2025-02-03 148/week @ 2025-03-03

148 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 207 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.7–3.5MB
~62K SLoC