nayuki / QR-Code-generator

High-quality QR Code generator library in Java, TypeScript/JavaScript, Python, Rust, C++, C.

Home Page:https://www.nayuki.io/page/qr-code-generator-library

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Publish the `rust-no-heap` crate on crates.io

ivmarkov opened this issue · comments

Background: I would've copy-pasted the code in the project, if it wasn't that the project is licensed under Apache 2.0 only, while the QR code is licensed under MIT only.

Also, I can publish the code myself (using a fork), but it just doesn't feel right. So if you are up for it, maybe two options:

  • Option A: a qrcodegen-no-heap (or whatever name we come up with) crate next to the already published qrcodegen
  • Option B: Get qrcodegen-no-heap and qrcodegen mixed into a single crate/project with two modules, where the qrcodegen module is conditionally enabled when the std feature of the project is enabled (and the std feature is - as usual - in the crate's default = ["std"] feature); the qrcodegen_no_heap module (or however you might decide to name it) would always be enabled, of course

I can confirm that the newly-published crate works great - thanks a lot!