qrcode-rust/examples/encode_unicode.rs
2020-07-07 09:02:12 +02:00

9 lines
218 B
Rust

use qrcode::render::unicode;
use qrcode::QrCode;
fn main() {
let code = QrCode::new(b"Hello").unwrap();
let string = code.render::<unicode::Dense1x2>().quiet_zone(false).build();
println!("{}", string);
}