Barcode.Rust

Pure Rust barcode library — Easy 2 Steps × 4 output modes

Easy 2 Steps
1
Create barcode
let mut qr = QR::new("png");
2
Draw!
qr.draw("code", 300)?;

PDF/Canvas output uses + renderer = 3 steps

URL, text, or numbers

Base64 PNG tiny-skia renderer
SVG draw() → get_svg()
PDF Invoice printpdf renderer
Canvas tiny-skia + Graphics
</> CODE
PREVIEW
All 18 barcode types and full API: Manual