Registry / other / rqrr
library0.10.1rscratesunverified

Detect and read QR codes from any image source.

# Cargo.toml [dependencies] rqrr = "0.10.1"
INSTALL
IMPORT
SIG · RQRR
R
rqrr
otherrustv0.10.1
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Decoder
use rqrr::Decoder;

Decode a QR code from an image file

use rqrr::Decoder; fn main() { let img = image::open("qrcode.png").unwrap(); let mut decoder = Decoder::new(); let result = decoder.decode(&img); println!("Decoded: {:?}", result); }
Debug
Known issues
gotchaRequires the 'image' crate feature for loading images
fix
Add rqrr = { features = ["image"] } to Cargo.toml
affects: >=0.10.0
Upgrade
Version history
0.10.1latest on crates.io
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
rqrr — cargo add rqrr · libregistry