SteveGremory / Zap

An extremely fast alternative to zip which is written in rust.
Other
57 stars 2 forks source link

Large refactor of entire codebase. #9

Closed ThaddeusTreloar closed 1 year ago

ThaddeusTreloar commented 1 year ago

Created a pipeline model for building comp/decomp pipelines

Added signing pipeline phase, no implementation

removed tokio scheduler as per tokio documentation recommendations

added rayon threadpool with std::thread::available_parallelism() threads as default.

organised cli utils

added boilerplate for logging support and cli log level options.

refactored error handling in line with thiserror patterns, enabling fine grained, detailed logging in future.

added prelude but not populated.

Added compression: Gzip Snappy

Added encryption: AES-GCM ChaChaPoly1305 XChaChaPoly1305

I will have to add some documentation at some stage as there is a lot to write down!

SteveGremory commented 1 year ago

Awesome! Thank you :) I'll review the changes and see what I understand then merge it.