#qr #decoder #barcode #api-bindings #quirc


QuiRS: a Rust wrapper around the Quirc QR decode library

2 releases

Uses old Rust 2015

0.1.1 Dec 1, 2018
0.1.0 Nov 30, 2018

#327 in Multimedia


4.5K SLoC

C 4K SLoC // 0.1% comments Rust 599 SLoC // 0.0% comments


Qui-RS on crates.io Qui-RS on docs.rs Qui-RS Download Qui-RS License Twitter

Lines of Code goto counter fuck counter

A Rust wrapper around the QR decoder library quirc.


You'll need a working C toolchain (C compiler, linker, make, pkg-config) in order to be able to build the bundled quirc library.

You will also need a Rust toolchain of version 1.24 or higher.

On Debian-based GNU/Linux distros, the following may work for installing GCC:

sudo apt install build-essential gcc make pkg-config

On macOS, you can just install the Xcode Command-Line Tools in order to have a clang-based C toolchain.

Once you have the C and Rust toolchains, just run the following command from the repo root:

git submodule update --init --recursive
cargo build


See examples/. It should be self-explanatory.