Crates.io | quirs |
lib.rs | quirs |
version | 0.1.1 |
source | src |
created_at | 2018-11-30 16:20:09.779536 |
updated_at | 2018-12-01 08:22:57.984396 |
description | QuiRS: a Rust wrapper around the Quirc QR decode library |
homepage | https://h2co3.github.io/quirs/ |
repository | https://github.com/H2CO3/quirs.git |
max_upload_size | |
id | 99394 |
size | 189,172 |
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.