4 releases

0.0.4 Jan 23, 2025
0.0.3 Jan 23, 2025
0.0.2 Jan 23, 2025
0.0.1 Jan 15, 2025

#859 in Encoding

49 downloads per month

MIT/Apache

80KB
2K SLoC

DEWQ QR Code Generation Library

github crates.io docs.rs

DEWQ (Denso Wave QR Code Generator) is a QR Code generation library for rust designed to parse an input string with a given error correction level and generate a bitmap of the qr code.

Getting Started

Adding DEWQ to your project is as simple as

cargo add DEWQ

Usage Examples

use qr_code::*;

let qr_code = create_qr_code("HELLO, WORLD!", ErrorCorrectionLevel::Q);
println!("{}", qr_code);

or you can save the bitmap to a file:

use qr_code::*;

create_qr_code("HELLO, WORLD!", ErrorCorrectionLevel::Q).save_to_file("./qrcode.bmp");

Features

  • Numeric Encoding
  • Alphanumeric Encoding
  • Byte Encoding
  • Kanji (Double Byte) Encoding

No runtime deps