[][src]Crate qr2term

A stupidly simple QR code renderer, that prints text as QR code to the terminal, and nothing else.

Examples

example.rs:

use qr2term::print_qr;

fn main() {
    print_qr("https://rust-lang.org/").unwrap();
}

qr2term example screenshot

Based on

This library is based on qair, which didn't provide the renderer as a library on it's own. Credits for the actual renderer go to it's developer.

Enums

QrError

QrError encodes the error encountered when generating a QR code.

Functions

print_qr

Print the given text as QR code in the terminal.