n4n5
96e427cb4a
Improve crate && fix CI ( #256 )
...
* feat: improve crate
* fix: CI
2026-02-14 13:09:13 +01:00
王品呈
2e2643782d
Add option to output result in C include file style ( #242 ) ( #246 )
...
* feat: Implement "-i/-include" option
* make clippy happy
Suppress clippy warning for too many arguments in Printer struct
* add tests & use buffered reading for include mode to handle large files
* Update CHANGELOG
2025-10-19 21:38:21 +02:00
David Peter
5a295296fe
Fix formatting
2025-08-31 21:21:22 +02:00
David Peter
38301f3759
Fix clippy, CI
2025-08-31 21:17:54 +02:00
Niclas Schwarzlose and David Peter
f2547aed69
Add new braille character table and color schemes ( #247 )
...
* Add new braille character table and color schemes
* Add character for tab and change color for 0x7f
---------
Co-authored-by: David Peter <mail@david-peter.de >
2025-08-31 21:13:57 +02:00
Dan Hipschman
9ef7c346dd
Enable custom colors with environment variables ( #248 )
...
* Enable custom colors with environment variables
* Rename HEXYL_XYZ env vars to HEXYL_COLOR_XYZ
2025-06-16 22:41:37 +02:00
David Peter
79f7076b02
Merge pull request #239 from ilmanzo/issue238
...
Fix issue #238
2025-03-02 19:28:12 +01:00
Saúl Valdelvira
06ff4b750e
Fix some clippy warnings
...
Changes:
- Elid lifetimes when possible
- Use a slice instead of a Vec as function argument
- Rewrite &[b'*''] to b"*"
2025-02-19 12:44:08 +01:00
Andrea Manzini
630d92fb8f
Fix issue #238
2025-01-26 18:54:13 +01:00
v1gnesh
120cf29adf
Add codepage 1047 for EBCDIC
2024-08-04 15:18:38 +05:30
Shun Sakai
252a6dbef4
Rewrite CLI using derive API
2024-07-01 22:39:28 +09:00
David Peter
45fa72ec3b
Add ASCII character table
...
closes #36
2023-12-11 23:22:36 +01:00
David Peter
711627bfe8
Rename ascii-only to 'default', as it is not only ASCII
2023-12-11 23:00:49 +01:00
Sharif Haason
33d5b4dbda
Flush output on first print for /dev/zero fix
2023-12-11 16:41:26 -05:00
David Peter
a78c00b10d
Remove unused character_table field
2023-12-11 19:47:59 +01:00
Sharif Haason
1310b1d19e
Adjust color function to not take character_table as arg
2023-12-11 13:33:44 -05:00
Sharif Haason
a56b3b0c46
Adjust color function to not include character_table
2023-12-11 13:32:46 -05:00
Sharif Haason
dfb5d57ee7
Remove block coloring option for refactor
2023-12-10 13:21:23 -05:00
Sharif Haason
a0a7d6761f
Refactor color components into new module
2023-12-10 13:21:23 -05:00
Sharif Haason
8d5b355b76
Correct asterisk colorization
2023-12-10 13:21:23 -05:00
Sharif Haason
19f325a691
Implement block character table
2023-12-10 13:21:23 -05:00
Sharif Haason
10ddbbad7d
Use U+FB00 LATIN SMALL LIGATURE FF (ff) for FFh
2023-12-10 13:21:23 -05:00
Sharif Haason
58c8c06317
Clarify use of ␀
2023-12-10 13:21:23 -05:00
Sharif Haason
9362c2313a
Attribute original author of CP437
2023-12-10 13:21:23 -05:00
Sharif Haason
e363f2fdc4
Remove old as_char implementation
2023-12-10 13:21:23 -05:00
Sharif Haason
29e3350e69
Rename CharTable to CharacterTable
2023-12-10 13:21:23 -05:00
Sharif Haason
0c192e979b
Make CharTable non-exhaustive
2023-12-10 13:21:23 -05:00
Sharif Haason
6a230d34a4
Implement character table control and codepage 437 option
2023-12-10 13:21:23 -05:00
Sharif Haason
dfad7b3faf
Refactor to avoid code duplication
2023-06-20 10:55:07 -04:00
Sharif Haason
ef9b530d6a
Finish comment
2023-06-20 10:46:48 -04:00
Sharif Haason
a3268b8791
Correctly handle discontinuous input i.e. stdin
2023-06-20 10:45:13 -04:00
David Peter
57d18482ba
Add Copy and Clone for Endianness
2023-04-26 14:53:37 +02:00
David Peter
cba717b783
Minor doc comment adjustment
2023-04-25 08:51:31 +02:00
David Peter
580f865c4a
Rename function
2023-04-25 08:50:55 +02:00
RinHizakura
b251575d94
Change design for endianness command line option
2023-04-24 23:44:49 +08:00
RinHizakura
58b038af27
Change le to non-abbreviated name little endian
2023-04-24 23:13:28 +08:00
RinHizakura
d703cdfd78
Fix comment error and grammarly
2023-04-24 23:10:25 +08:00
RinHizakura
43f8b92502
Fix test for endianness
2023-04-24 22:59:23 +08:00
RinHizakura
08b903270f
Change endianness from boolean type to enum
2023-04-24 22:59:19 +08:00
David Peter
dd601e4792
Run cargo fmt
2023-04-21 21:28:52 +02:00
RinHizakura
564cf64b1b
Support both little and big endian dump
2023-04-21 21:26:43 +02:00
sharif
fd4aee2b85
Merge branch 'master' into owo
2022-12-07 16:51:30 -05:00
Sharif Haason
faa9866d11
Change group_bytes to satisfy merge conflict
2022-12-07 16:44:11 -05:00
David Peter
1df35eeb63
Renme --group-bytes to --group-size
...
For `xxd`-compatibility reasons
see #121
2022-12-07 21:50:12 +01:00
Sharif Haason
b2f0e75ed2
Satisfy clippy
2022-12-06 13:22:34 -05:00
Sharif Haason
4fc0c1f1b0
Replace anstyle with owo-colors
2022-12-06 11:27:16 -05:00
Sharif Haason
4ce6e9d799
Remove now unnecessary byte_char_panel_g
2022-12-06 11:26:19 -05:00
David Peter
7d38f70918
Show 0x00-bytes as '⋄' instead of '0', closes #166
2022-12-05 09:45:38 +01:00
Sharif Haason
5e3c49f933
cargo fmt
2022-11-27 17:19:48 -05:00
Sharif Haason
7de17c4f35
Adjust spaces on empty lines
2022-11-27 17:15:26 -05:00