tuv 0.1.5

Pure-Rust QR code encoder with SVG and PNG output
Documentation
1
2
3
4
5
6
7
8
9
use tuv::{QRCode, ECCLevel};

#[test]
fn debug_a() {
    let qr = QRCode::from("A").with_ecc(ECCLevel::M).generate().unwrap();
    let debug = qr.debug_full_matrix();
    eprintln!("Size: {}", qr.size());
    eprintln!("{}", debug);
}