A library for creating zip files using rayon for thread control
This library is inspired by mtzip, which manages concurrency by itself.
After some tests, it's even slower than single-threaded program that uses zip library. All tested on rfmp.
Example usage:
```rs use rayon::ThreadPoolBuilder; use rayonzip::ZipArchive;
let threads = std::threads::available_parallelism.unwrap();
let threadpool = ThreadPoolBuilder::new().numthread(threads.into()).build().unwrap();
let mut zipper = ZipArchive::new(&thread_pool);
zipper.addfilefromfs("input/testtextfile.txt", "testtext_file.txt");
zipper.addfilefromslice(b"Hello, world!", "helloworld.txt");
zipper.adddirectory("testdir"); zipper.addfile("input/filethatgoestoadir.txt", "testdir/filethatgoestoadir.txt");
let mut file = File::create("output.zip").unwrap();
zipper.write(&mut file).unwrap(); ```