Vinícius Rodrigues Miguel
eabaac0145
Run rustfmt
2021-09-16 21:35:18 -03:00
João M. Bezerra
bb93e46535
Reworked compression
...
Now works with multiple formats, like
archive.zip.gz.lz.gz.gz2.xz
Now with minimum in-memory copying, compressing and decompressing (with
exception to .zip, due to the format limitations) is all done directly
into the final destination file.
2021-08-03 21:18:22 -03:00
João M. Bezerra
ac4948abf7
Decompression: multiple formats, no extra copying
...
Rewrote decompression to use chained decoders, creating a stream and
avoiding in-memory decompression, which caused redundant copying.
Now ouch supports any number of extensions as decompressing formats, not
only two.
2021-08-03 16:58:21 -03:00
João M. Bezerra
d01947d9e1
Adding rustfmt.toml and reformatting
2021-05-16 17:52:29 -03:00
João M. Bezerra
3869c2502e
Moving bytes.rs implementation to utils.rs
2021-04-06 21:16:33 -03:00
João M. Bezerra
78d5f435ee
Minor style changes
2021-04-06 20:14:33 -03:00
Vinícius Miguel
f9272b5ce5
evaluator: Verify if input files are decompressible
2021-04-06 04:30:36 -03:00
Vinícius R. Miguel
368a776b70
Add Bytes and impl Display for Bytes
2021-04-06 02:34:27 -03:00
Vinícius Rodrigues Miguel
1c5005f5a9
Adapt the Python test script to the new Ouch interface
2021-04-05 20:57:18 -03:00
João M. Bezerra
28901ec44e
Binary size decreased by 35% (-400KB)
...
Huge refactor, removed totally `clap` to use our argparsing instead.
500+ modified.
2021-04-04 23:26:57 -03:00
João M. Bezerra
ce26246fd4
Changing the error imports
2021-03-26 14:03:06 -03:00
Vinícius Rodrigues Miguel
d99d8e71d3
Add a sad Python script for Ouch testing
2021-03-25 22:47:34 -03:00
Vinícius Rodrigues Miguel
bdc16fdb17
Add support for Bzip compression (includes .tar.bz2 and .zip.bz2 and etc)
2021-03-24 14:33:43 -03:00
Vinícius Rodrigues Miguel
9429fd8d67
Fix CLI parsing of decompression commands & early Compressor work
2021-03-22 23:39:08 -03:00
Vinícius Rodrigues Miguel
52afe3afd8
Update README & minor code cleanup
2021-03-22 15:12:11 -03:00
Vinícius Rodrigues Miguel
90ad9d8f8a
WIP decompression support for .xz, .bz, .lzma
2021-03-22 02:18:35 -03:00
Vinícius Rodrigues Miguel
0a81384dd8
(Small) Zip decompressor progress
2021-03-21 15:41:05 -03:00
Vinícius Rodrigues Miguel
b6d4e50cca
Early progress in supporting .tar files
2021-03-21 04:09:28 -03:00
Vinícius Rodrigues Miguel
155fca4526
refactor: New File struct and switch to use Extension
2021-03-21 00:53:54 -03:00