Expand description
§barcodes
A universal bar/QR code generation library supporting many symbologies.
§Zero-allocation core
By default the crate is pure no_std and performs no heap allocation.
Encoders write their module data into a caller-provided &mut [bool] buffer
via BarcodeEncoder::encode_into.
Enable the optional alloc feature for the convenience
BarcodeEncoder::encode method
(returns an owned BarcodeOutput) and SVG
string rendering. The image feature (implies std) adds raster output.
§Modules
common— shared traits, types, errors, and output helpersqrcode— QR Code Model 2 encoderean_upc— EAN-13, EAN-8, UPC-A, UPC-E encoderslinear— Code 128, Code 39, Code 93, Codabar, ITF encodersgs1— GS1-128 and GS1 DataBar encoderstwod— PDF417, Data Matrix, Aztec Code encoderspostal— USPS IMb and Royal Mail RM4SCC encoders
Modules§
- common
- Common foundational types, traits, and utilities shared by all symbology modules.
- ean_upc
- EAN/UPC family of barcode encoders.
- gs1
- GS1 barcode encoders.
- linear
- Linear (one-dimensional) barcode encoders.
- postal
- Postal barcode encoders.
- qrcode
- QR code encoding functionality.
- twod
- Two-dimensional barcode encoders.