hydraulic 0.1.0

An interface for generic compression library usage with a collection (unimplemented so far) of pre-existing compression libraries
Documentation
#[derive(Copy, Clone, Debug, Default, Eq, Ord, PartialEq, PartialOrd)]
pub enum CompressionLevel {
    High,
    #[default]
    Med,
    Low,
    Custom(usize),
}

impl CompressionLevel {
    pub fn to_integer(&self) -> usize {
        match self {
            CompressionLevel::High => 10,
            CompressionLevel::Med => 6,
            CompressionLevel::Low => 2,
            CompressionLevel::Custom(x) => *x,
        }
    }
}