2 releases
Uses old Rust 2015
0.1.1 | Dec 1, 2018 |
---|---|
0.1.0 | Nov 30, 2018 |
#1830 in Encoding
160KB
4.5K
SLoC
Qui-RS
A Rust wrapper around the QR decoder library quirc
.
Building
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
Usage
See examples/
. It should be self-explanatory.