9 lines
218 B
Rust
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);
|
|
}
|