//! use std::time::Duration; use keyfork_qrcode::scan_camera; fn main() -> Result<(), Box> { let output = scan_camera(Duration::from_secs(60 * 10), 0)?; if let Some(scanned_text) = output { println!("{scanned_text}"); } Ok(()) }