Thanks to visit codestin.com
Credit goes to lib.rs

#qr #rmqr

no-std qrcode2

A QR code, Micro QR code, and rMQR code encoding library

5 unstable releases

Uses new Rust 2024

0.17.1 Nov 4, 2025
0.17.0 Nov 1, 2025
0.16.1 Oct 20, 2025
0.16.0 Oct 19, 2025
0.15.0 Oct 18, 2025

#814 in Images

Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App Codestin Search App

128 downloads per month
Used in 2 crates

Apache-2.0 OR MIT

290KB
6.5K SLoC

qrcode-rust2

CI Version MSRV Docs License

qrcode-rust2 (qrcode2) is a QR code encoding library written in Rust.

This crate provides a normal QR code, Micro QR code, and rMQR code encoder for binary data.

[!IMPORTANT] This is a fork of the qrcode crate.

Usage

Run the following command in your project directory:

cargo add qrcode2

Crate features

eps

Enables EPS rendering support. This is enabled by default.

image

Enables raster image rendering support powered by the image crate. This is enabled by default.

pic

Enables PIC rendering support. This is enabled by default.

std

Enables features that depend on the standard library. This is enabled by default.

svg

Enables SVG rendering support. This is enabled by default.

no_std support

This supports no_std mode. Disables the default feature to enable this.

Documentation

See the documentation for more details.

Minimum supported Rust version

The minimum supported Rust version (MSRV) of this library is v1.85.0.

Source code

The upstream repository is available at https://github.com/sorairolake/qrcode-rust2.git.

Changelog

Please see CHANGELOG.adoc.

Contributing

Please see CONTRIBUTING.adoc.

Acknowledgment

The rMQR code encoder is based on the qrqrpar crate. It is licensed under the BSD 3-Clause "New" or "Revised" License.

License

Copyright (C) 2016 kennytm and contributors (see AUTHORS.adoc)

This library is distributed under the terms of either the Apache License 2.0 or the MIT License.

This project is compliant with version 3.3 of the REUSE Specification. See copyright notices of individual files for more details on copyright and licensing information.

Dependencies

~7MB
~143K SLoC