Skip to content

v0.12.0

Choose a tag to compare

@ThibautMelen ThibautMelen released this 22 Nov 19:16
897dd50

Prebuilt qrscan for Linux, macOS and Windows: the GitHub mark, the commands that download, check and run an archive, and a QR code and a barcode being read

Ask AI

ChatGPT
Claude
Gemini
Grok
Perplexity
Copilot
DeepSeek
Meta AI
Qwen

Choose an AI assistant to explain this destination using its public sources. Gemini opens gemini.google.com. Gemini, Copilot, DeepSeek, Meta AI and Qwen require pasting the prompt below; the other links include it in their URL. Sign-in or a manual paste may still be required. Check the answer against the documentation.

Copy the plain-text prompt

Use the code block's copy control, or select its complete text, then paste it into your assistant.

Help me understand GitHub Releases · moteur for QR Code & Barcode Scanner, the open-source scanner. Recorded public version: 0.12.0. Check the public page before relying on it. Provided README context (verify against the sources): Scanner release notes and source snapshots, with links to the package distribution routes for the selected version. Read the public documentation below. Explain what this destination does, its documented installation or access steps, a minimal example if supported, prerequisites, limitations and license. Distinguish published packages from working source and preparation. Cite your sources; if a page is unavailable or a fact cannot be checked, say so. Do not invent installation commands, benchmark results or comparisons. Answer in my language. Public sources: https://github.com/qrcode-ai-com/qrcode-barcode-scanner-rust/releases/tag/v0.12.0 https://qrcode-ai.com/en-US/qr-code-scanner https://qrcode-ai.com/en-US/barcode-scanner https://qrcode-ai.com/en-US/qr-code-scanner/sdk https://qrcode-ai.com/en-US/barcode-scanner/sdk https://qrcode-ai.com/en-US/qr-code-generator https://qrcode-ai.com/en-US/barcode-generator

Scanner release notes and source snapshots, with links to the package distribution routes for the selected version.

Use the immutable release tag to locate the matching package; a source archive is not a ready-to-run desktop installer. When two builds return different text for a QR fixture, record each installed package version and its matching release tag. Compare the input and payload under those identities rather than treating the source ZIP as an app. Keep a UPC fixture, its 036000291452 output and the installed package version together. Use the matching release record when comparing another build so a packaging change is not confused with a different input image.

The QR code scanner provides the QR image-scanning entry point, while the barcode scanner is the corresponding route for barcode images. To explore the integration described here, read the QR code scanner guide and the barcode scanner guide for this destination. These product routes are separate from package installation; if a page is unavailable, use the source and package instructions retained below.

When preparing a sample image, the QR code generator lets you encode a known QR payload, and the barcode generator creates a barcode label. Retain the original text with the exported image and compare it with the complete decoded value, including leading zeroes where present. Generated samples supplement rather than replace a destination’s required acceptance fixtures.

How it works

How qrscan works, in three steps: install qrscan, pass an image file, and read the JSON report

The picture shows the three steps of this route. The installation, the first scan and the checks of this destination are written below.

What it returns

A QR code and Code 128 decoded from the same image, each outlined where the engine measured it

The picture is a recorded scan of one image that holds a QR code and a Code 128 barcode. Both come back in the same report, each with its format, its exact text and the place where the engine measured it.

What it reads

The code families the engine reads: QR codes, matrix and stacked codes such as Data Matrix, retail barcodes such as EAN-13, and other linear barcodes such as Code 128

The same engine reads every destination’s images, so codes of different formats in one image come back in one report.

  • QR: QR Code, Micro QR, rectangular Micro QR (rMQR)
  • Matrix and stacked: Data Matrix, Aztec, PDF417, MaxiCode
  • Retail: EAN-13, EAN-8, UPC-A, UPC-E
  • Other linear: Code 128, Code 39, Code 93, Codabar, ITF, GS1 DataBar, GS1 DataBar Expanded, Telepen

The engine’s supported formats section states the known limits.

The same engine in other runtimes

One engine in the language you write: Rust on crates.io, Node.js and the browser on npm, Python on PyPI, Go, PHP, and the qrscan command line

The Rust, Node.js, browser and Python packages hold the engine. The Go and PHP packages hold no decoder: each one starts qrscan and hands you its report. Every route is listed in the scanner repository.


Release notes

0.12.0 — 2026-11-22

Added

  • Prebuilt CLI archives for x86_64-unknown-linux-musl and aarch64-unknown-linux-musl,
    static executables checked natively and inside Alpine on both
    architectures. The allocator configuration is unchanged; these targets do not add
    platform support to the separate language packages.
  • Flutter: scan and scanFrame take an optional budgetMs, with the
    semantics of budget_ms in the other bindings (0 is unbounded, a value
    above 4294967295 is QRS-006). A negative value throws a RangeError.
  • Flutter: the package ships rust/cargokit.yaml with an Ed25519 public key.
    An app's build can then download a precompiled native library from the
    engine's release precompiled_<crate hash> and use it only when its
    signature verifies against that key; otherwise it compiles the Rust core as
    before. flutter-precompiled.yml builds the libraries unsigned on the tag,
    and the owner signs and publishes them from his own machine.

Changed

  • Project-authored scanner source, SDKs, adapters and maintained documentation
    now use the MIT License, with attribution to Thibaut Mélen & Nicolas Cella,
    QR Code AI and SuperNovae Studio. Third-party licenses and notices are
    retained. Published archives keep their version-specific license; this
    source change does not republish 0.11.0, MCP 0.3.1 or skill/bundle 0.2.0.

  • Kotlin and Swift: an error case carries one message and nothing else.
    This breaks code that read the value of a case. ScanBindingError now
    crosses the binding as its case and its message, the text Rust prints:
    scan failed: … [QRS-001], unknown profile: turbo. Up to 0.11.0 a case
    also held its value as a separate unnamed field (v1 in Kotlin), and the
    generated message repeated that name, as in v1=unsupported or corrupt image. Read the message and match the case; the [QRS-xxx] code is in the
    message, as before. The Rust enum is unchanged. UniFFI's Ruby generator
    wrote an invalid file for the former shape, so the mobile workflow now
    generates the Ruby file and has Ruby parse it.

  • The homepage field of each package manifest names that package's guide on
    qrcode-ai.com instead of the site's home page: the two crates, the Node,
    browser and Python packages and the Flutter package. A registry shows the
    new address from this version on.

  • Flutter: the package is named qr_barcode_scanner, as its own changelog
    records, and its README states NDK r28 as the floor. Built with NDK r27 the
    Android libraries are aligned to 4 KB memory pages, not 16 KB.

  • Flutter: the pubspec repository, the podspec homepage and the Rust
    crate's repository name qrcode-ai-com/qrcode-barcode-scanner-rust, the
    repository's current address.

  • The repository of the two crates, the Node, browser and Python packages
    and the UniFFI crate names qrcode-ai-com/qrcode-barcode-scanner-rust, the
    repository's address since its rename on 18 November 2026. npm compares that
    field with the repository that built a package before it accepts its
    provenance. The prebuilt CLI archives name the same address in
    build-info.json, SOURCE.md and their README.

  • Flutter: flutter_rust_bridge moves from 2.12.0 to 2.13.0, in the Dart
    runtime, the Rust crate and the generated bindings. Its Dart package
    requires Dart 3.9.2, so the package declares Dart >=3.9.2 and Flutter
    >=3.35.3.

Fixed

  • Kotlin on Android: the one-line Gradle dependency works. With 0.11.0 it
    compiled, then the first scan failed with UnsatisfiedLinkError. The
    published Gradle module metadata named JNA without its Android AAR, and
    Gradle reads that file in preference to the POM. The module metadata is no
    longer published, so a consumer reads the POM, which names the AAR. The
    Kotlin README keeps the extra lines that 0.11.0 needs.
  • Kotlin on Android: a minified build no longer stops in R8 with
    Missing class java.awt.Component. The rules shipped in the AAR carry
    -dontwarn java.awt.*.
  • Kotlin on Android: JNA moves from 5.13.0 to 5.17.0, the first version whose
    x86_64 library is aligned for 16 KB memory pages.
  • Flutter: debug builds of the Rust core are optimized. The package's crate is
    built as its own Cargo root and did not inherit the workspace's development
    settings, so simulators and emulators, which run Flutter only in debug mode,
    scanned with an unoptimized core and overran the default budgets on the iOS
    simulator. bindings/flutter/rust/Cargo.toml gives Cargo's dev profile
    opt-level 3 without debug assertions; overflow checks stay on and there is
    no LTO.
  • Swift: the release xcframework carries a plain module map, the module the
    generated Swift imports. UniFFI's --xcframework flag wrote a framework
    module, whose headers SwiftPM does not find for a static-library slice.

CI

  • kotlin-publication.yml publishes the AAR to a directory on the runner and
    installs it with the one-line dependency on an emulator, as a debug build
    and as a minified one, with 4 KB and with 16 KB memory pages.
  • The Flutter publish job names its Flutter and Dart versions and installs
    from a tracked pubspec.lock.
  • flutter-qualification.yml runs the example's integration tests on an
    Android emulator and an iPhone simulator, with no Cargo profile variable
    and without the toolchain action's CARGO_INCREMENTAL, and reports the
    time of each scan of the mixed QR/Code 128 fixture.
  • distribution/releases/ records each public release in one manifest: its
    tag, its commit and the hash of every public file, read from the public
    addresses. scripts/release-fanout.py keeps every mention of a release
    version and every pinned hash of this repository equal to what it follows,
    and ci fails on one that is not classified.

Prebuilt qrscan archives

The qrcode-barcode-scanner-cli-0.12.0-<target> archives hold the qrscan command line for
Linux x86_64 (glibc 2.28 or later), Linux aarch64 (glibc 2.28 or later), macOS x86_64 (10.15 or later), macOS arm64 (11.0 or later), Windows x86_64, Linux x86_64 (static musl, including Alpine) and Linux aarch64 (static musl, including Alpine).
qrcode-barcode-scanner-cli-0.12.0-SHA256SUMS lists the sha256 of every other CLI asset. It is an asset of
this same release, so it detects a damaged download, not a substituted release.
qrcode-barcode-scanner-cli-0.12.0-source.tar.gz is the corresponding source, a git archive of the tagged commit.

The binaries are not code-signed or notarized: there is no Apple Developer ID signature, no
notarization and no Authenticode signature. Each archive's README.md gives the steps to verify
the download and run the binary.