sharkdp/hexyl
66.7
Adequate · 29 September 2026
2.1k
lines of production code
Rust
primary language
2
measurements over time
What this system is
Hexyl is a command-line hex dump utility for Rust that displays file contents in a customizable hexadecimal format. It supports advanced visual features like gradient color schemes and environment-based theming, while offering flexible input handling via files or stdin. The system includes a library API for programmatic usage and robust integration testing to ensure output accuracy.
Features
Introduce custom color theming via environment variables and new color schemes
Users can now customize the appearance of hexyl output by setting environment variables (e.g., HEXYL\_COLOR\_NULL) to override default colors, and can choose between the 'Default' and 'Gradient' color schemes via the --color-scheme option. The 'Gradient' scheme applies a heatmap-like color progression to non-ASCII bytes and distinct gradients for non-printable ASCII characters, while the new \src/colors.rs\ module handles these dynamic color definitions and pre-rendered ANSI codes.
src · high confidence
New library usage example for hexyl
Added a new \simple.rs\ example demonstrating how to use hexyl as a library via the \PrinterBuilder\ API. This example shows how to configure output options such as color display, character and position panels, border style, squeezing, panel count, and byte grouping directly from code.
examples · high confidence
Test coverage
Added integration tests for core hex dump functionality; Added test fixtures and configuration for example tests.
Dependencies
Upgrade to clap 4 and modernize dependencies
The CLI framework has been upgraded from clap 2 to clap 4, enabling the use of the derive API for argument parsing and introducing clap\_complete for shell completion generation. This update also replaces older dependencies like \ansi\_term\ and \atty\ with modern alternatives such as \owo-colors\, \supports-color\, and \anstream\, while updating the project to Rust edition 2021 and raising the minimum supported Rust version to 1.88. Additionally, \anyhow\ is now used for error handling, and Link Time Optimization (LTO) is enabled for release builds to improve performance.
(dependencies) · high confidence
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
How this codebase got here
Score
- CAI 61 → 67 (+5.5)
- Rubric changed (rubric-2026.09.8 → rubric-2026.09.17) — scores are not directly comparable.
Lenses
- Code Health 84 → 84 (+0.0)
- Architecture 100 → 100 (+0.0)
- Maturity 49 → 58 (+9.1)
- Readiness 68 → 68 (-0.4)
- Security 64 → 76 (+12.1)
Resolved (2)
- Documentation: no installation or build instructions (README.md)
- Hotspot: src/main.rs (src/main.rs)
New (9)
- Inverted test pyramid
- Outdated: anyhow
- Outdated: clap
- Outdated: clap_complete
- Outdated: const_format
- Outdated: libc
- Outdated: owo-colors
- Outdated: supports-color
- Outdated: terminal_size
Written by watchdog.canine.dev from the codebase's own history, inside the signed delivery this page is composed from.
Survey your own repository
sharkdp/hexyl was measured the same way every project in this corpus was: the same rubric, at a pinned commit, with the result published in full. Point a surveyor at a repository you know and see whether you agree with it.
About this page
- The score is its most recent published measurement, taken on 29 September 2026 at a pinned commit. It is not a live figure and does not change until the project is measured again.
- Measured at commit 6ecc29b9c8c84d08a7e860f7f69c22b113b480ea — the exact code this score is about.
- Scored under rubric-2026.09.17 — the same rubric and the same method as every other entry in this index.
- Measured by watchdog.canine.dev using codehealth-analyzer preprod-fbec9b1e08c2.