Shun Sakai
653cf02954
Add rustfmt and clippy to the CI
2022-03-25 22:00:40 +01:00
David Peter
18cdbe02c5
Fix Debian package description
2021-11-14 09:36:35 +01:00
merkrafter
d1ae68585f
Make code compatible with rust 1.46
2021-11-14 09:26:21 +01:00
merkrafter
7a225fe732
Apply clippy suggestions
2021-11-14 09:26:21 +01:00
merkrafter
1b33e516d9
Move hex number processing into own function
2021-11-14 09:26:21 +01:00
merkrafter
55d02c933a
Move sign (+/-) processing into own function
2021-11-14 09:26:21 +01:00
merkrafter
b8ed8d5df9
Raise minimum Rust version for executable to 1.46
2021-11-14 09:26:21 +01:00
merkrafter
641c32e395
Mention new feature in CHANGELOG
2021-11-14 09:26:21 +01:00
merkrafter
51b28ed0b0
Allow hex numbers for --block-size
2021-11-14 09:26:21 +01:00
merkrafter
825100c6d6
Deny 'block' as unit for --block-size
2021-11-14 09:26:21 +01:00
merkrafter
1b1fc4b053
Allow units for --block-size
2021-11-14 09:26:21 +01:00
merkrafter
c3dd4e871e
Use extraction function for length arg parsing
2021-11-14 09:26:21 +01:00
merkrafter
923bceffaa
Add function to extract num and unit from string
...
Having this as an own function allows special handling of the
'block' unit in --block-size argument.
2021-11-14 09:26:21 +01:00
merkrafter
2942d2419f
Introduce enum for byte size units
2021-11-14 09:26:21 +01:00
merkrafter
37d4180f9a
Refactor default block size into constant
2021-11-14 09:26:21 +01:00
Mark Umnus
99435cd215
Mention ability to specify length in hex
2021-10-20 22:52:01 +02:00
Issac Lin
27f039d72a
README: Add scoop instruction (on Windows)
2021-09-20 08:41:25 +02:00
a1346054
e72422ecfb
Trim trailing whitespace
2021-08-28 09:56:56 +02:00
a1346054
3c56ed2b0e
Fix typos
2021-08-28 09:56:56 +02:00
a1346054
a09ea8ee27
Use HTTPS links
2021-08-28 09:56:56 +02:00
David Peter
d6bdfe9897
Update package links
2021-08-25 22:17:21 +02:00
HRXN
7c9f7e1bd0
README.md does not mention availability of binary builds for Windows
...
Could not check this, but release page lists Windows binaries, apparently.
2021-07-12 07:15:41 +02:00
David Peter
b1d2a47590
Remove old ci/ directory
2021-07-11 22:03:19 +02:00
David Peter
c3e9cb9518
Bump MSRV
v0.9.0
2021-07-11 20:09:28 +02:00
David Peter
3489998c67
cargo fmt
2021-07-11 20:09:28 +02:00
David Peter
4594d29f73
Bump version to 0.9.0
2021-07-11 20:09:28 +02:00
David Peter
cc73f01c34
Update dependencies
2021-07-11 20:09:28 +02:00
David Peter
6da15cd1e9
Added alias notice in help text
2021-07-11 19:57:55 +02:00
David Peter
c82ccd5a59
Add CHANGELOG entry
2021-07-11 19:57:55 +02:00
TheDoctor314
19d2805729
Add alias '-l' for '-n/--length'
...
Set `.hidden(true)` option
This won't clutter the help text too much.
2021-07-11 19:57:55 +02:00
David Peter
06387bba3e
Add GitHub actions badge
2021-07-11 19:16:53 +02:00
David Peter
595803e5e2
Migrate to GitHub actions
2021-07-11 19:16:06 +02:00
Herby Gillot
3793559d6f
README: add MacPorts instructions
2021-06-07 19:00:11 +02:00
Mihir Gadgil
71626c28e9
Update CHANGELOG.md
2021-05-07 10:05:16 +02:00
Mihir Gadgil
532eab762d
Fix #131
...
Don't print the error for version output, instead add a newline print.
Move the eprint for help only.
2021-05-07 10:05:16 +02:00
dm9pZCAq
642eff6061
README: added Gentoo instruction
2021-02-13 20:36:44 +01:00
Gabriel Arazas
15dc96a946
Add installation instructions for Guix
2020-11-25 12:18:16 +01:00
sharkdp
6b2cc80cc1
Change ASCII file to contain increasing hex digits
2020-11-01 22:56:59 +01:00
sharkdp
1db77094da
Organize integration tests into modules
2020-11-01 22:56:59 +01:00
sharkdp
8c3f2230c6
Better error message when seek fails
...
> hexyl "$(which hexyl)" --skip=-5gib
Error: Failed to jump to the desired input position. This could be
caused by a negative offset that is too large or by an input that is not
seek-able (e.g. if the input comes from a pipe).
ref: #114
2020-11-01 22:56:59 +01:00
sharkdp
66f8508b57
Add stdin test
2020-11-01 21:35:35 +01:00
sharkdp
afb249e854
Run cargo fmt
2020-11-01 21:04:39 +01:00
sharkdp
9432677d3a
Disallow block sizes of 0
...
closes #110
2020-10-31 10:17:19 +01:00
Tom Milligan
524a6c607f
bin: offset should add to skip, not override it
2020-10-31 10:00:03 +01:00
sharkdp
d69a7d8e04
Update CHANGELOG
2020-10-30 21:58:02 +01:00
sharkdp
b1c8606918
Print warning on empty content
...
closes #107
closes #108
2020-10-30 21:58:02 +01:00
sharkdp
d9723592bf
Add CONTRIBUTING guide
2020-10-30 20:04:08 +01:00
sharkdp
23fbb5b027
Update CHANGELOG
2020-10-30 20:02:16 +01:00
sharkdp
4d7004f06b
Move CHANGELOG entry
2020-10-30 19:57:07 +01:00
purvesh-linux11
c4ed6d9936
add snapstore link to readme
2020-10-30 19:56:44 +01:00