Skip to content

v0.19.0

Latest

Choose a tag to compare

@fabienbellanger fabienbellanger released this 26 May 07:49
  • Add no_std support behind a new std feature (enabled by default), allowing the crate to be used on embedded
    platforms with alloc (#49) (Thanks to @pierre42100)
  • Add Printer::driver to release ownership of the underlying driver (useful in no_std environments)
  • CI now builds the crate with --no-default-features to prevent silent no_std regressions
  • spin and hashbrown are pulled in with default-features = false and minimal features to keep the dependency
    footprint small
  • When the std feature is enabled, std::sync::LazyLock and std::collections::HashMap are used instead of
    spin::Lazy and hashbrown::HashMap
  • Barcodes and 2D codes are now exposed in no_std mode (previously gated on std)
  • Update Tauri example: bump tauri to 2.11, tauri-build to 2.6, tauri-plugin-opener to 2.5,
    @tauri-apps/cli to 2.11, switch to Rust edition 2024, and align UsbDriver::open call with the new
    UsbOption argument

See CHANGELOG.md for more details