hydraulic
An interface and implementations of various compression algorithms.
Overview
As it is currently, this library is simply a plain interface without any implementations. This will be changed in future versions
Usage
Binary
:warning: This feature has not yet been added. See the CLI branch for the current status
Library
hydraulic may be installed with the command:
cargo install hydraulic
Or by adding the following to your Cargo.toml
[]
= { = "0.1.0", = ["full"]}
Examples
A simple compression function using already implemented Gzip compression.
Ensure that the "gzip" feature is enabled
[]
= { = "0.1.0", = ["gzip"]}
Then, in main.rs:
use File;
use Read;
use Gzip;
use *;
Alternatively, you may implement your own compression algorithm through the provided traits:
use crateAlgorithmMeta;
use crateAlgorithm;
use crateCompressionError;
use crateDecompressionError;
More examples of usage can be found here
Contributing
This project is very small and only maintained by @quexeky. Contributions are greatly appreciated. A contribution guide will be added later on