5 releases

0.0.6 Nov 28, 2024
0.0.5 Nov 28, 2024
0.0.3 Jul 30, 2024
0.0.2 Jun 21, 2024
0.0.1 Feb 5, 2024

#144 in Profiling

Download history 29/week @ 2024-09-14 20/week @ 2024-09-21 2/week @ 2024-09-28 113/week @ 2024-11-16 321/week @ 2024-11-23 73/week @ 2024-11-30

507 downloads per month

MIT and GPL-3.0-or-later

3MB
68K SLoC

Rust 34K SLoC // 0.0% comments Shell 17K SLoC // 0.2% comments M4 15K SLoC // 0.2% comments Ebuild 2K SLoC // 0.1% comments Bitbake 43 SLoC C 11 SLoC Automake 9 SLoC

Contains (autotools obfuscated code, 470KB) testdata/autotools/configure, (obscure autoconf code, 1KB) testdata/autotools/configure.ac

QA library and tools based on pkgcraft.

Requirements

A recent version of rust and compatible clang compiler.

Install

Build and install from crates.io:

cargo install pkgcruft

Build and install from git:

cargo install pkgcruft --git https://github.com/pkgcraft/pkgcraft.git

Install with cargo-binstall:

cargo binstall pkgcruft

Benchmarking

Benchmarks can be run individually for every check against a repo target:

# set repo target
export PKGCRUFT_BENCH_REPO=path/to/repo

# update repo metadata
pk repo metadata regen path/to/repo

# run benchmarks
cargo criterion Check --features test -p pkgcruft

Dependencies

~37–70MB
~1.5M SLoC