Open garbage-repo opened 3 months ago
Hi,
May I ask if you would agree to a PR adding new enum Level, like sample below:
Level
#[derive(Debug, Clone, Copy, Eq, PartialEq, Ord, PartialOrd)] pub enum Level { L0, L1, L2, L3, L4, L5, L6, L7, L8, L9, } impl Level { pub (crate) const fn raw(&self) -> u32 { *self as u32 } }
Currently XzEncoder::new() just takes a u32 value. I made Level and used it personally. I would like to add it to your crate.
XzEncoder::new()
u32
Please let me know what you think.
Thank you,
Hi,
May I ask if you would agree to a PR adding new enum
Level
, like sample below:Currently
XzEncoder::new()
just takes au32
value. I madeLevel
and used it personally. I would like to add it to your crate.Please let me know what you think.
Thank you,