tuv 0.1.6

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

fn main() {
    let qr = QRCode::from("https://vondal.dev")
        .with_ecc(ECCLevel::M)
        .generate()
        .unwrap();
    print!("{}", qr.debug_matrix());
}