fast_qr 0.3.1

Generates optimized QRCode
Documentation

Fast_QR

fast_qr generates QRCodes approximately 5-6x faster than qrcode crate. This test was done using time tool and generating 10k QRCodes of version 40.

You can create a QR as

  • Raw matrix
  • Vectorized image
  • Image

Example

use fast_qr::{ECL, Version, QRBuilder};

let qrcode = QRBuilder::new("https://example.com/".into())
    .ecl(ECL::H)
    .version(Version::V03)
    .build();

// It is preferable to check qrcode result before
qrcode.unwrap().print();

Build WASM

wasm-pack build --target web # All ready in ./pkg

Or find a bundled version in the latest release