From 4e2c4487e9fa608e04ec7f890a02b21f875ec53c Mon Sep 17 00:00:00 2001 From: ryan Date: Sun, 11 Feb 2024 19:46:06 -0500 Subject: [PATCH] keyfork-qrcode: default to rqrr, keyfork default --- crates/qrcode/keyfork-qrcode/Cargo.toml | 2 +- crates/qrcode/keyfork-zbar/src/image.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/crates/qrcode/keyfork-qrcode/Cargo.toml b/crates/qrcode/keyfork-qrcode/Cargo.toml index 5186c84..537c86f 100644 --- a/crates/qrcode/keyfork-qrcode/Cargo.toml +++ b/crates/qrcode/keyfork-qrcode/Cargo.toml @@ -9,7 +9,7 @@ license = "MIT" [features] default = [] -bin = ["decode-backend-zbar"] +bin = ["decode-backend-rqrr"] decode-backend-rqrr = ["dep:rqrr"] decode-backend-zbar = ["dep:keyfork-zbar"] diff --git a/crates/qrcode/keyfork-zbar/src/image.rs b/crates/qrcode/keyfork-zbar/src/image.rs index e312735..f49f580 100644 --- a/crates/qrcode/keyfork-zbar/src/image.rs +++ b/crates/qrcode/keyfork-zbar/src/image.rs @@ -22,9 +22,9 @@ impl Image { /// /// A FourCC code can be given in the format: /// - /// ```no_run + /// ```rust,ignore /// self.set_format(b"Y800") - /// ```` + /// ``` pub(crate) fn set_format(&mut self, fourcc: &[u8; 4]) { let fourcc: u64 = fourcc[0] as u64 | ((fourcc[1] as u64) << 8)