qrcode-core 2.0.0

Zero-dependency QR code encoding core (no_std + alloc) — the encoding primitive layer of qrcode-rs.
Documentation
  • Coverage
  • 100%
    240 out of 240 items documented13 out of 165 items with examples
  • Size
  • Source code size: 258.12 kB This is the summed size of all the files inside the crates.io package for this release.
  • Documentation size: 3.61 MB This is the summed size of all files generated by rustdoc for all configured targets
  • Ø build duration
  • this release: 3s Average build duration of successful builds.
  • all releases: 3s Average build duration of successful builds in releases after 2024-10-23.
  • Links
  • houseme/qrcode-rs
    16 0 0
  • crates.io
  • Dependencies
  • Versions
  • Owners
  • houseme

qrcode-core

qrcode-core is the zero-dependency QR encoding core used by qrcode-rs. It provides the bitstream, mode optimization, Reed-Solomon, canvas, core type, module-view, and plugin contracts without pulling in renderer or image dependencies.

Most applications should depend on qrcode-rs. Depend on qrcode-core directly when building a custom facade, renderer, plugin, or no_std + alloc integration.

[dependencies]
qrcode-core = "2.0"

Features

Feature Purpose
std Opts into the standard library. Disabled by default.
serde Enables serialization for core QR types.
bench-internals Exposes benchmark-only internals. Not a stable public surface.

Relationship to qrcode-rs

The facade crate re-exports the common qrcode-core types, including EcLevel, Version, Mode, QrError, ModuleSource, ModuleView, QrCodeRef, Renderer, Encoder, and the plugin registry contracts.

Use this crate directly only when you want a narrower dependency graph than the facade provides.