Expand description
§QuickCodes
Universal Barcode & QR Toolkit for generating and reading 1D and 2D codes.
§Features
- Generate and read multiple barcode formats (EAN-13, UPC-A, Code128, QR Code)
- Export to PNG, SVG formats
- High performance Rust core
- Cross-platform support
§Quick Start
use quickcodes::{generate, BarcodeType, ExportFormat};
fn main() -> Result<(), Box<dyn std::error::Error>> {
// Generate a QR Code
let qr_svg = generate(BarcodeType::QRCode, "Hello, World!", ExportFormat::SVG)?;
// Generate an EAN-13 barcode
let ean_png = generate(BarcodeType::EAN13, "123456789012", ExportFormat::PNG)?;
Ok(())
}
Re-exports§
pub use exporters::*;
pub use generators::*;
pub use types::*;
Modules§
- exporters
- Export modules for different formats
- generators
- Barcode generators for different formats
- readers
- Barcode readers (decoders) - Future implementation
- types
- Core types and data structures for QuickCodes
Functions§
- generate
- Main generation function - unified API for all barcode types
- generate_
to_ file - Generate and save barcode to file