Jonas Frei
32b50e9c7a
Added test code, handled BlockSize error, block size = 16MiB
...
Signed-off-by: Jonas Frei <freijon@pm.me>
2024-11-17 14:50:02 -03:00
Jonas Frei
ba9f9c00f3
Add support for bzip3
...
Closes #398
Signed-off-by: Jonas Frei <freijon@pm.me>
2024-11-17 14:50:02 -03:00
João Marcos P. Bezerra
362418364f
remove dependabot
2024-10-29 23:55:38 -03:00
dependabot[bot]
896562d76d
build(deps): bump once_cell from 1.19.0 to 1.20.2
...
Bumps [once_cell](https://github.com/matklad/once_cell ) from 1.19.0 to 1.20.2.
- [Changelog](https://github.com/matklad/once_cell/blob/master/CHANGELOG.md )
- [Commits](https://github.com/matklad/once_cell/compare/v1.19.0...v1.20.2 )
---
updated-dependencies:
- dependency-name: once_cell
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 21:03:42 -03:00
dependabot[bot]
d098fec5cf
build(deps): bump tar from 0.4.41 to 0.4.42
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.41 to 0.4.42.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.41...0.4.42 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 21:03:24 -03:00
dependabot[bot]
d7427b25ab
build(deps): bump clap_mangen from 0.2.23 to 0.2.24
...
Bumps [clap_mangen](https://github.com/clap-rs/clap ) from 0.2.23 to 0.2.24.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_mangen-v0.2.23...clap_mangen-v0.2.24 )
---
updated-dependencies:
- dependency-name: clap_mangen
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-28 21:03:02 -03:00
João Marcos
49c8a079a6
Update dependabot.yml
2024-10-28 20:41:34 -03:00
dependabot[bot]
3f6368dbe1
build(deps): bump clap from 4.5.16 to 4.5.20
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.16 to 4.5.20.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.16...clap_complete-v4.5.20 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-27 19:48:34 -03:00
dependabot[bot]
1876f5eef1
build(deps): bump insta from 1.39.0 to 1.40.0
...
Bumps [insta](https://github.com/mitsuhiko/insta ) from 1.39.0 to 1.40.0.
- [Release notes](https://github.com/mitsuhiko/insta/releases )
- [Changelog](https://github.com/mitsuhiko/insta/blob/master/CHANGELOG.md )
- [Commits](https://github.com/mitsuhiko/insta/compare/1.39.0...1.40.0 )
---
updated-dependencies:
- dependency-name: insta
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 17:04:29 -03:00
dependabot[bot]
be40b4439c
build(deps): bump clap_complete from 4.5.24 to 4.5.28
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.24 to 4.5.28.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.24...clap_complete-v4.5.28 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 17:04:12 -03:00
dependabot[bot]
f3af70915d
build(deps): bump ignore from 0.4.22 to 0.4.23
...
Bumps [ignore](https://github.com/BurntSushi/ripgrep ) from 0.4.22 to 0.4.23.
- [Release notes](https://github.com/BurntSushi/ripgrep/releases )
- [Changelog](https://github.com/BurntSushi/ripgrep/blob/master/CHANGELOG.md )
- [Commits](https://github.com/BurntSushi/ripgrep/commits )
---
updated-dependencies:
- dependency-name: ignore
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-10-26 17:03:46 -03:00
valoq
7e30545e96
add changelog
2024-10-22 00:00:19 -03:00
valoq
e2151c93d5
fix format to appease linter
2024-10-22 00:00:19 -03:00
valoq
83f28cf64a
change temporary path to a more unique name
2024-10-22 00:00:19 -03:00
João Marcos P. Bezerra
3d717ec3bc
update snapshots
2024-09-07 00:24:50 -03:00
João Marcos P. Bezerra
09899389ec
update CHANGELOG
2024-09-07 00:24:50 -03:00
João M. Bezerra
5dac8431f2
Fix --format
parsing extensions with dots
...
Also improve error reporting for `--format` with malformed or
unsupported extensions
This commit is very messy, as it also does an refac in the project,
which should ideally be in a separated commit
2024-09-07 00:24:50 -03:00
João M. Bezerra
1a80b919e3
Add tests to the extension module
2024-09-07 00:24:50 -03:00
ttyS3
a3d4f6ac6b
fix: simplify error handling for invalid password
2024-09-06 21:47:03 -03:00
ttyS3
c3e37e22d1
refactor(rar): simplify list_archive logic and remove UnrarError
...
Simplify the list_archive function by combining archive creation and listing steps.
Remove the UnrarError variant from the Error enum as it's no longer used.
2024-09-06 21:47:03 -03:00
ttyS3
f8f1439ec5
style: cargo fmt
2024-09-06 21:47:03 -03:00
ttyS3
84f1ec4daf
refactor(zip): remove redundant password byte conversion
...
Simplify password handling by removing platform-specific code and utilizing ByteSlice for all conversions.
2024-09-06 21:47:03 -03:00
ttyS3
56f69e19a3
fix(archive): return result in list_archive functions
2024-09-06 21:47:03 -03:00
ttyS3
39cef75dfe
fix(error): return result in list_archive
...
Refactor list_archive functions to return results directly for better error handling.
2024-09-06 21:47:03 -03:00
ttyS3
9e1c30bb86
fix(archive): handle mangled zip file names properly
...
Replace enclosed_name with mangled_name fallback for robustness.
2024-09-06 21:47:03 -03:00
ttyS3
9c69fbd911
fix: replace UnsupportedFormat error with UnrarError
...
Update error handling for unrar-specific issues to use the new UnrarError type.
2024-09-06 21:47:03 -03:00
ttyS3
7e830d9f53
fix(archive): handle errors for unsupported formats
...
Handle errors for unsupported formats in RAR and 7z archives by returning appropriate error messages.
2024-09-06 21:47:03 -03:00
ttyS3
bafbd83bd7
fix(archive): handle file open error in list_archive method
2024-09-06 21:47:03 -03:00
ttyS3
08ab63837e
fix(archive): handle invalid UTF-8 passwords in 7z decompression
2024-09-06 21:47:03 -03:00
ttyS3
67ca183a25
fix: fix windows build
2024-09-06 21:47:03 -03:00
ttyS3
61868dfb56
fix: remove unnecessary clones in zip decryption
2024-09-06 21:47:03 -03:00
ttyS3
309d165606
fix(archive): replace unwrap with error handling in zip.rs
2024-09-06 21:47:03 -03:00
ttyS3
2dad11d0ba
fix(password): update password handling for archives
...
Refactor password handling in archive functions to use &[u8] instead of impl AsRef<[u8]>. Include better error reporting for invalid UTF-8 passwords in 7z archives.
2024-09-06 21:47:03 -03:00
ttyS3
d4e252a732
chore: remove comment from Cross configuration
2024-09-06 21:47:03 -03:00
ttyS3
a241397d95
ci: use newer gcc version for cross target aarch64-unknown-linux-gnu and armv7-unknown-linux-gnueabihf
2024-09-06 21:47:03 -03:00
ttyS3
9b092fef71
style: cargo fmt
2024-09-06 21:47:03 -03:00
ttyS3
8987992c21
chore: fix tests
2024-09-06 21:47:03 -03:00
ttyS3
058be43cf4
test: fix warning: use of deprecated macro ui
(it's alias, actual is insta::assert_display_snapshot): use assert_snapshot!() instead
2024-09-06 21:47:03 -03:00
ttyS3
3392730d66
style: lint the code
2024-09-06 21:47:03 -03:00
ttyS3
d21db763f1
feat: support decompress and list zip file
2024-09-06 21:47:03 -03:00
ttyS3
75e16510df
feat(list): support list and decompress 7z files with password
2024-09-06 21:47:03 -03:00
ttyS3
512d2445b2
feat: add password support for decompress and list
2024-09-06 21:47:03 -03:00
dependabot[bot]
4ac8e2ba91
build(deps): bump bstr from 1.9.1 to 1.10.0
...
Bumps [bstr](https://github.com/BurntSushi/bstr ) from 1.9.1 to 1.10.0.
- [Commits](https://github.com/BurntSushi/bstr/compare/1.9.1...1.10.0 )
---
updated-dependencies:
- dependency-name: bstr
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 17:47:51 -03:00
dependabot[bot]
b8f78d2925
build(deps): bump proptest from 1.4.0 to 1.5.0
...
Bumps [proptest](https://github.com/proptest-rs/proptest ) from 1.4.0 to 1.5.0.
- [Release notes](https://github.com/proptest-rs/proptest/releases )
- [Changelog](https://github.com/proptest-rs/proptest/blob/master/CHANGELOG.md )
- [Commits](https://github.com/proptest-rs/proptest/compare/v1.4.0...v1.5.0 )
---
updated-dependencies:
- dependency-name: proptest
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 17:47:33 -03:00
dependabot[bot]
b814599d77
build(deps): bump clap from 4.5.13 to 4.5.16
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.13 to 4.5.16.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.13...clap_complete-v4.5.16 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-31 17:47:18 -03:00
dependabot[bot]
f2800c7b41
build(deps): bump test-strategy from 0.3.1 to 0.4.0
...
Bumps [test-strategy](https://github.com/frozenlib/test-strategy ) from 0.3.1 to 0.4.0.
- [Commits](https://github.com/frozenlib/test-strategy/compare/v0.3.1...v0.4.0 )
---
updated-dependencies:
- dependency-name: test-strategy
dependency-type: direct:production
update-type: version-update:semver-minor
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 04:05:01 -03:00
dependabot[bot]
dbde18668a
build(deps): bump sevenz-rust from 0.6.0 to 0.6.1
...
Bumps [sevenz-rust](https://github.com/dyz1990/sevenz-rust ) from 0.6.0 to 0.6.1.
- [Changelog](https://github.com/dyz1990/sevenz-rust/blob/main/CHANGELOG.md )
- [Commits](https://github.com/dyz1990/sevenz-rust/commits )
---
updated-dependencies:
- dependency-name: sevenz-rust
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 04:04:19 -03:00
dependabot[bot]
7b9ec7d49a
build(deps): bump clap_complete from 4.5.2 to 4.5.13
...
Bumps [clap_complete](https://github.com/clap-rs/clap ) from 4.5.2 to 4.5.13.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.2...clap_complete-v4.5.13 )
---
updated-dependencies:
- dependency-name: clap_complete
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-29 04:04:07 -03:00
dependabot[bot]
6f183fbe6a
build(deps): bump clap from 4.5.4 to 4.5.13
...
Bumps [clap](https://github.com/clap-rs/clap ) from 4.5.4 to 4.5.13.
- [Release notes](https://github.com/clap-rs/clap/releases )
- [Changelog](https://github.com/clap-rs/clap/blob/master/CHANGELOG.md )
- [Commits](https://github.com/clap-rs/clap/compare/clap_complete-v4.5.4...v4.5.13 )
---
updated-dependencies:
- dependency-name: clap
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 05:27:36 -03:00
dependabot[bot]
b2d0ff75c8
build(deps): bump tar from 0.4.40 to 0.4.41
...
Bumps [tar](https://github.com/alexcrichton/tar-rs ) from 0.4.40 to 0.4.41.
- [Commits](https://github.com/alexcrichton/tar-rs/compare/0.4.40...0.4.41 )
---
updated-dependencies:
- dependency-name: tar
dependency-type: direct:production
update-type: version-update:semver-patch
...
Signed-off-by: dependabot[bot] <support@github.com>
2024-08-26 03:58:17 -03:00