Amyspark
07967927dd
feat: Make bzip3 optout ( #814 )
...
Co-authored-by: João Marcos <marcospb19@hotmail.com>
2025-05-03 20:43:59 -03:00
tommady
08416c7a22
change crate from sevenz-rust to sevenz-rust2 ( #796 )
2025-04-17 13:42:35 -03:00
João Marcos P. Bezerra
2eca233132
chore: update comments
2024-11-18 00:32:17 -03:00
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
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
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
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
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
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
cyqsimon
fa2d214fee
Feature-gate RAR support
2023-12-14 23:32:17 -03:00
João Marcos P. Bezerra
8483739184
Minor refactor to archive handling code
2023-11-25 21:33:22 -03:00
MisileLaboratory
f2b984bc7a
feat: cleanup codes and more error handling
2023-11-25 21:33:22 -03:00
MisileLaboratory
862181ae0a
feat: decompress with count
2023-11-25 21:33:22 -03:00
Łukasz Krawiec
dade163243
added support for listing and decompressing .rar archives
2023-11-15 08:59:00 -03:00
Pascal Seitz
c117517bbe
switch to lz4_flex
...
The release of lz4_flex 0.11 fixes two issue that caused problems
before:
- The new `auto-finish` flushes on drop
- FrameEncoder writes now empty frames. Previously nothing was written,
which caused issues with double compressed empty data.
2023-06-20 21:30:10 +08:00
figsoda
fe464213b3
fix typos
2023-01-31 14:21:19 -05:00
figsoda
5a3bac67c9
add --format option
2023-01-07 14:57:39 -05:00
figsoda
e06b2c8635
apply clippy suggestions
2023-01-05 14:23:37 -05:00
figsoda
13fab6d241
remove progress feature
2022-10-15 23:03:20 -04:00
figsoda
dfb3a367e4
bump dependencies
2022-10-11 16:27:27 -04:00
João M. Bezerra
7ed3a16f21
chore: update rustfmt config
...
remove 'force_multiline_blocks' config
2022-07-04 11:06:16 -03:00
João M. Bezerra
801189ec02
create is_running_in_accessible_mode helper
...
also renamed some variables
2022-06-04 21:38:16 -03:00
João M. Bezerra
97c4387fcf
minor simplifications and renamings
2022-06-04 14:04:31 -03:00
João M. Bezerra
14025c6816
remove use_small_heuristics = "Max"
from rustfmt
...
and update edition to 2021
2022-06-04 13:06:52 -03:00
João M. Bezerra
eac0a0687a
fix clippy warnings
2022-06-04 10:59:51 -03:00
Vinícius Miguel
336fc97831
feat: allow ignoring hidden files and files matched by .gitignore files ( #245 )
2022-01-16 23:30:26 -03:00
Vinícius Miguel
bf9e6b7b98
feat: use Cow<'static, str>
in FinalError
( #246 )
2022-01-16 18:35:53 -03:00
Vinícius Miguel
6fc6d23872
fix: missing #[must_use]
attribute on a method returning Self
( #243 )
2022-01-15 16:14:23 -03:00
João M. Bezerra
b31f407011
Reformat code
2021-11-24 23:45:12 -03:00
Anton Hermann
1030eb0de9
Improve accessibility code and comment decisions why some info is (in)accessible
2021-11-23 11:53:20 +01:00
Anton Hermann
40cee89bab
Implement accessibility mode which reduces visual noise
2021-11-13 01:47:08 +01:00
Anton Hermann
c1add95e70
Fix warnings in doc comments
...
Escape square brackets comments containing "[INFO]", "[WARNING]", "[ERROR]"
Suppress automatic link markup warning
2021-11-13 00:07:17 +01:00
figsoda
5616231af9
simplify colors
2021-11-10 21:59:07 -05:00
figsoda
1fb9ef5abc
remove trailing blank lines in error messages
2021-11-10 21:56:04 -05:00
figsoda
dedd254ace
switch from lz4_flex to lzzzz, enable lz4 tests
2021-11-09 21:26:04 -05:00
João M. Bezerra
5059f9c875
Perform exhaustive matching on error variants
...
Fixes #29
2021-11-02 17:44:13 -03:00
João M. Bezerra
2fcec33ec6
Removing obsolete error variants
2021-11-02 07:36:17 -03:00
João M. Bezerra
047102ec07
Remove InternalError, replaced by unreachable! macro
2021-11-02 06:28:40 -03:00
João M. Bezerra
6cebf78da6
Simplify Error::Custom code conversions
2021-11-02 05:18:34 -03:00
João M. Bezerra
d2d4a929e1
Docs improvements
...
+ Removed some dead code
2021-11-02 04:57:26 -03:00
João Marcos Bezerra
95d38e99f6
Merge branch 'master' into issue-32
2021-10-31 03:01:41 -03:00
João M. Bezerra
4e731f8af3
Merge branch 'dir-flag'
2021-10-31 01:49:33 -03:00
Gabriel Simonetto
704a4efdd7
Merge branch 'master' into issue-56
2021-10-30 11:31:09 -03:00
João M. Bezerra
d1c905cda4
Improving permission denied error message
2021-10-30 11:17:38 -03:00
João M. Bezerra
6c6f721f35
Solved FinalError compile errors
2021-10-30 11:17:38 -03:00
Gabriel Simonetto
70b787b58e
Fix repo link on documentation
2021-10-27 00:08:26 -03:00
Gabriel Simonetto
0fdef287c4
Warn for missing docs, and add necessary docs
2021-10-27 00:08:00 -03:00
Spyros Roum
e24c9ce931
Replace oof with clap
2021-10-19 14:42:07 +03:00
João Marcos Bezerra
d33dd7f445
Merge branch 'master' into Improve-FinalError
2021-10-15 11:23:25 -03:00