Debian Codegraph @

src/bin/qrencode.rs

raw symbols SCIP
1 use std::env;
2
3 pub fn main() {
4 let arg = env::args().nth(1).unwrap();
5 let code = qrcode::QrCode::new(arg.as_bytes()).unwrap();
6
7 print!("{}", code.render().dark_color("\x1b[7m \x1b[0m").light_color("\x1b[49m \x1b[0m").build());
8 }