labelize 0.2.0

Fast Rust engine to parse ZPL & EPL label data and render to PNG/PDF. CLI, HTTP microservice, or library. Open-source Labelary alternative.
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
#[derive(Clone, Debug)]
pub struct BarcodeDimensions {
    pub module_width: i32,
    pub height: i32,
    pub width_ratio: f64,
}

impl Default for BarcodeDimensions {
    fn default() -> Self {
        BarcodeDimensions {
            module_width: 2,
            height: 10,
            width_ratio: 3.0,
        }
    }
}