Daniel Hofstetter
d690e8fb99
Merge pull request #5752 from sylvestre/0.0.24
...
0.0.23 => 0.0.24
2024-01-21 13:35:10 +01:00
Sylvestre Ledru
dd5c6c2d00
0.0.23 => 0.0.24
2024-01-20 20:12:19 +01:00
Sylvestre Ledru
5e29c60b26
hashsum: when the filename contains some special chars, escape them
...
Should fix tests/cksum/md5sum-newline.pl
2024-01-20 19:27:45 +01:00
Gary Yendell
b6553edfb7
hashsum: Remove usage of crash! macro
2023-11-26 10:38:01 +00:00
Sylvestre Ledru
ff92bfb25b
Prepare version 0.0.23
2023-11-13 22:02:01 +01:00
Sylvestre Ledru
e1bd47d549
0.0.21 => 0.0.22
2023-10-15 14:33:23 +02:00
David CARLIER
7679e90818
clippy: remove some unnecessary mut
...
removing useless mutability mostly.
2023-09-09 09:47:08 +02:00
Sylvestre Ledru
9844f1f07d
0.0.20 => 0.0.21
2023-09-03 14:42:54 +02:00
Terts Diepraam
93a54f36f3
hashsum: change debug to display format with --tag
2023-08-29 10:15:38 +02:00
Terts Diepraam
c3f9e19a3b
all: normalize license notice in all *.rs files
2023-08-24 12:21:09 +02:00
Daniel Hofstetter
774180bb09
Remove the author copyright notices
...
from files missed by #5184
2023-08-23 10:54:00 +02:00
Sylvestre Ledru
74530c0f51
Update the version to 0.0.20
2023-07-14 13:04:17 +02:00
Gregory Szorc
a7f95d5a23
hashsum: use file_stem() instead of file_name()
...
This program matches the binary name to determine which
algorithm to use. On Windows, `file_name()` was matching
against a string with `.exe`, causing binaries like
`sha256sum.exe` to not properly detect the algorithm.
By using `file_stem()`, we exclude the `.exe` from matching,
achieving similar and correct behavior on Windows.
2023-06-29 10:50:10 +02:00
Sylvestre Ledru
6ecef3a0e3
Reformat TOML files with taplo
...
npx --yes @taplo/cli fmt
2023-06-08 09:07:19 +02:00
Sylvestre Ledru
830b7d5ce1
New release
2023-06-04 09:46:59 +02:00
Kamil Ogórek
07434647ad
fix: Correctly detect format when using md5sum with check flag ( #4645 )
2023-05-27 23:56:15 +02:00
Sylvestre Ledru
f8d7bebed3
ignore some cognitive_complexity for now
2023-05-06 14:50:55 +02:00
Sylvestre Ledru
59c0f51208
hashsum: split/doc detect_algo into smaller functions
2023-04-17 22:33:30 +02:00
Marras Antoine
fdbebfad9d
b2sum: moved 0 case into None arm
2023-04-12 09:49:20 +02:00
Marras Antoine
c4d637125c
b2sum: changed british spelling for american spelling
2023-04-11 09:28:41 +02:00
Marras Antoine
a9e65e881c
b2sum: handled 0 length case and greater than 512 case
2023-04-10 21:20:54 +02:00
Marras Antoine
ae1113d7dc
b2sum: add support to -l option
2023-04-10 18:31:18 +02:00
Sylvestre Ledru
0a6f1758b9
add missing feature
2023-04-02 20:59:02 +02:00
Sylvestre Ledru
af0a263191
0.0.17 => 0.0.18
2023-03-29 08:11:25 +02:00
0xMRTT
e7ef9dcd46
hashsum
: add --zero
option (#4612 ) ( #4632 )
...
* `hashsum`: add `--zero` option (#4612 )
2023-03-28 23:26:11 +02:00
Miles Liu
23e67adfd3
hashsum: fix style violation
2023-03-21 15:44:03 +08:00
Daniel Hofstetter
62e5c5a755
hashsum: merge imports
2023-03-21 08:07:24 +01:00
Miles Liu
4bed10a26a
hashsum: move help strings to markdown file
2023-03-21 13:47:26 +08:00
Sylvestre Ledru
422a27d375
parent 9d5dc500e6
...
author Sylvestre Ledru <sylvestre@debian.org> 1677865358 +0100
committer Sylvestre Ledru <sylvestre@debian.org> 1677951797 +0100
md: Fix a bunch of warnings in the docs
2023-03-04 18:43:40 +01:00
Yang Hau
9322580967
Add checksum algorithm abstractions
2023-02-21 21:14:58 +08:00
Yang Hau
678a11dcf2
cksum: Implement option -a
...
Implement option -a --algorithm.
Move digest to src/uucore/src/lib/features and rename it to hash.
fix lint
fix Cargo.toml
2023-02-18 20:58:53 +08:00
Terts Diepraam
ae27c82020
Use workspace inheritance for dependencies
2023-02-11 18:54:46 +01:00
Terts Diepraam
152be8527d
update blake2_simd to 1.0.1
...
This fixes the duplicate constant-time-eq dependency.
2023-02-10 09:56:24 +01:00
dependabot[bot]
204d96b7df
build(deps): bump regex from 1.7.0 to 1.7.1
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.7.0 to 1.7.1.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.7.0...1.7.1 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2023-01-30 06:13:54 +00:00
Sylvestre Ledru
13fac01d31
Merge branch 'main' into dependabot/cargo/blake3-1.3.2
2023-01-27 21:10:06 +01:00
Daniel Hofstetter
f6b646e4e5
clippy: fix warnings introduced with Rust 1.67.0
2023-01-27 17:37:56 +01:00
Terts Diepraam
4d3dc78686
Version 0.0.17
2023-01-21 10:38:18 +01:00
dependabot[bot]
278e21b81b
build(deps): bump blake3 from 1.3.1 to 1.3.2
...
Bumps [blake3](https://github.com/BLAKE3-team/BLAKE3 ) from 1.3.1 to 1.3.2.
- [Release notes](https://github.com/BLAKE3-team/BLAKE3/releases )
- [Commits](https://github.com/BLAKE3-team/BLAKE3/compare/1.3.1...1.3.2 )
---
updated-dependencies:
- dependency-name: blake3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-12-26 10:25:33 +01:00
Daniel Hofstetter
81243db948
chore: fix wildcards that match single variant
2022-12-06 10:50:34 +01:00
Sylvestre Ledru
14f22a26b8
Merge pull request #4152 from uutils/dependabot/cargo/digest-0.10.6
...
build(deps): bump digest from 0.10.5 to 0.10.6
2022-11-17 10:29:07 +01:00
dependabot[bot]
59c9063248
build(deps): bump digest from 0.10.5 to 0.10.6
...
Bumps [digest](https://github.com/RustCrypto/traits ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/traits/releases )
- [Commits](https://github.com/RustCrypto/traits/compare/digest-v0.10.5...digest-v0.10.6 )
---
updated-dependencies:
- dependency-name: digest
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-17 06:13:25 +00:00
Miles Liu
d505df5369
uu: use normal use declarations to import macros
2022-11-17 11:49:23 +08:00
dependabot[bot]
26489d47a9
build(deps): bump regex from 1.6.0 to 1.7.0
...
Bumps [regex](https://github.com/rust-lang/regex ) from 1.6.0 to 1.7.0.
- [Release notes](https://github.com/rust-lang/regex/releases )
- [Changelog](https://github.com/rust-lang/regex/blob/master/CHANGELOG.md )
- [Commits](https://github.com/rust-lang/regex/compare/1.6.0...1.7.0 )
---
updated-dependencies:
- dependency-name: regex
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-11-06 13:55:24 +00:00
Terts Diepraam
bbc3495896
hashsum: enable testing --no-names
...
Co-authored-by: Huijeong Kim <herehuijeong@gmail.com>
2022-10-26 11:10:26 +02:00
Sylvestre Ledru
52d82d54a3
Revert "hashsum: test b3sum::test_nonames for real ( #4027 )"
...
This reverts commit 02f6fa7b24
.
2022-10-25 23:44:05 +02:00
Huijeong Kim
02f6fa7b24
hashsum: test b3sum::test_nonames for real ( #4027 )
...
* hashsum: test b3sum::test_nonames for real
Signed-off-by: Huijeong Kim <herehuijeong@gmail.com>
* apply cargo format
Signed-off-by: Huijeong Kim <herehuijeong@gmail.com>
2022-10-22 11:23:39 +02:00
David Matos
d46e5df3d3
hashsum: warn on file not found rather than fail
2022-10-19 22:46:47 +02:00
dependabot[bot]
e2c368cee0
build(deps): bump sha3 from 0.10.5 to 0.10.6
...
Bumps [sha3](https://github.com/RustCrypto/hashes ) from 0.10.5 to 0.10.6.
- [Release notes](https://github.com/RustCrypto/hashes/releases )
- [Commits](https://github.com/RustCrypto/hashes/compare/sha3-v0.10.5...sha3-v0.10.6 )
---
updated-dependencies:
- dependency-name: sha3
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2022-10-19 06:27:28 +00:00
Terts Diepraam
b95c5ce279
hashsum: update to clap 4
2022-10-13 17:50:29 +02:00
Terts Diepraam
f15c4f2d3e
Version 0.0.16
2022-10-11 23:03:39 +02:00