1393 Commits

Author SHA1 Message Date
Vinícius Rodrigues Miguel
b804e820f2 Reduce binary size used by Zstd 2021-10-06 17:19:29 -03:00
Vinícius Rodrigues Miguel
b093277a85 Refactor FinalError::display_and_crash into Error::Custom 0.2.0 2021-10-06 16:23:19 -03:00
Vinícius Rodrigues Miguel
40410840c9 error: add MissingArgumentsForDecompression 2021-10-06 15:55:13 -03:00
Vinícius Rodrigues Miguel
990458b771 Release 0.2.0 2021-10-06 15:39:55 -03:00
Vinícius Miguel
a8beaaae84
Merge pull request #65 from ouch-org/buffers-capacity-improvement
Increasing read and writer buffers capacity
2021-10-06 01:07:28 -03:00
João M. Bezerra
5b54bf85ee Increasing read and writer buffers capacity
By changing from 8KB to 64KB we will be making 8 times less syscalls
2021-10-06 00:56:39 -03:00
João Marcos Bezerra
c4bf226a54
Merge pull request #64 from ouch-org/zstd
Add support for Zstd
2021-10-06 00:19:10 -03:00
Vinícius Miguel
5597ddc341
readme: mark Zstd as supported 2021-10-06 00:03:06 -03:00
Vinícius Rodrigues Miguel
e9bc65a787 Add support for Zstd 2021-10-05 23:56:09 -03:00
João M. Bezerra
3f718b8335 Simplify tests by making gen_args more generic 2021-10-05 22:21:11 -03:00
João Marcos Bezerra
4ddc21a551
Merge pull request #61 from GabrielSimonetto/issue-48
Make the "decompress" command explicit
2021-10-05 22:10:27 -03:00
Gabriel Simonetto
788809b8f3 Make decompress command explicit
- No subcommand given now calls the help menu
- Also added docs for the short version of compress and decompress
2021-10-05 22:06:18 -03:00
João Marcos Bezerra
8bd4ae9794
Merge pull request #60 from ouch-org/no-color-when-redirected
Don't use colors when `stdout` or `stderr` are being redirected
2021-10-05 21:19:31 -03:00
Vinícius Rodrigues Miguel
e7dd6f2d4f Don't use colors when stdout or stderr are being redirected 2021-10-05 21:12:15 -03:00
João M. Bezerra
f7139548f6 Switch from BTree to Hash collections 2021-10-05 18:10:28 -03:00
João M. Bezerra
2f5083278f Add libc dependency
Cross compatible (with windows) exit failure code
2021-10-03 00:20:12 -03:00
João M. Bezerra
89d1e6a752 Document modules 2021-10-03 00:17:57 -03:00
João Marcos Bezerra
7178ae84ff
Fix tests/utils.rs warning suppresion 2021-10-02 23:40:51 -03:00
João Marcos Bezerra
402f33b1cc
Merge pull request #57 from GabrielSimonetto/issue-41
Allow compression of empty folders
2021-10-02 20:43:45 -03:00
Gabriel Simonetto
e352f8bc93 Allow empty dirs on tar 2021-10-02 17:33:16 -03:00
Gabriel Simonetto
0c65fbd2d4 Allow empty dirs on zip 2021-10-02 17:14:16 -03:00
João M. Bezerra
d43a93d8bb Moving some tests utilities to tests/utils.rs 2021-10-02 17:12:59 -03:00
Gabriel Simonetto
4431e8e047 Create failing test 2021-10-02 17:12:59 -03:00
João M. Bezerra
3cd8b3aa51 CI: Removing fallible mac arm64 job 2021-10-02 02:11:58 -03:00
Vinícius Rodrigues Miguel
df062f4155 zip: optimize UTF-8 checks on Unix, remove unneeded Clone 2021-10-01 19:13:43 -03:00
Vinícius Rodrigues Miguel
17d8959a0f unix: if setting permission fails, return an error instead of panicking 2021-10-01 12:00:52 -03:00
Vinícius Rodrigues Miguel
8fc2f06ef7 error: remove unused error variants 2021-10-01 11:46:20 -03:00
João M. Bezerra
9265198f58 Fix workflows new path for binaries 2021-09-26 23:02:59 -03:00
João M. Bezerra
df4f24469c Fix installation for Mac OS
Using a more appropriate installation location, /usr/local/bin

/usr/bin is protected in Mac OS by SIP (System Integrity Protection)
2021-09-26 22:59:02 -03:00
João M. Bezerra
fee510c32d Reordering imports 2021-09-26 16:23:24 -03:00
João Marcos Bezerra
c0fd6b5bfb
Update README table of supported formats
Leaving only the formats we support or currently plan on 
supporting, replacing `.7z` by `.zst`.
2021-09-25 22:52:53 +00:00
João M. Bezerra
b918cb912d Fix installation script + support wget 2021-09-25 04:50:41 +00:00
Vinícius Rodrigues Miguel
6085807ddf cd_into_same_dir_as: allow the proper IO error to bubble up and add docs 0.1.6 2021-09-17 11:54:55 -03:00
Vinícius Rodrigues Miguel
8565e475c3 Rework FinalError::display into a FinalError::Display impl 2021-09-17 11:49:46 -03:00
Vinícius Rodrigues Miguel
130288beb4 dialogs: use Cow<str> to avoid cloning a String 2021-09-17 09:33:19 -03:00
João M. Bezerra
3ea45e57d8 Update uploaded artifacts names 2021-09-17 04:16:33 -03:00
João Marcos Bezerra
afa6db6e93
Update README, add badges and fixes broken links 2021-09-17 03:31:18 -03:00
João Marcos Bezerra
06c69d4d8f
README update 2021-09-17 03:00:48 -03:00
Vinícius Rodrigues Miguel
a0f43b62f7 Release 0.1.6 2021-09-17 00:55:58 -03:00
Vinícius Rodrigues Miguel
b099e4ac20 Respect the NO_COLOR env. arg. 2021-09-17 00:55:38 -03:00
Vinícius Rodrigues Miguel
55aa65dcea Reduced repetition caused by [INFO] printing 2021-09-17 00:22:41 -03:00
Vinícius Rodrigues Miguel
c4a4792816 Misc cleanup 2021-09-16 23:14:00 -03:00
Vinícius Rodrigues Miguel
eabaac0145 Run rustfmt 2021-09-16 21:35:18 -03:00
Vinícius Rodrigues Miguel
fabe7cba31 Remove unused dependency features, prefer libz-backed implementations 2021-09-16 20:17:52 -03:00
Vinícius Rodrigues Miguel
36dade8c11 Bump crate version, bump dependencies 2021-09-16 20:06:10 -03:00
João M. Bezerra
19aac4b578 Removing unstable features from rustfmt.toml 2021-08-24 17:00:43 -03:00
João M. Bezerra
1a67da03ed Giving better tests failure messages 2021-08-13 03:21:23 -03:00
João M. Bezerra
7265effd65 Replacing deprecated tempdir by tempfile crate 2021-08-13 03:12:23 -03:00
João M. Bezerra
c9d4eea403 Minor renaming 2021-08-13 02:14:28 -03:00
João M. Bezerra
8f7f812e87 Removing unused macros 2021-08-04 12:41:32 -03:00