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
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:
qrcodegen-no-heap
(or whatever name we come up with) crate next to the already publishedqrcodegen
qrcodegen-no-heap
andqrcodegen
mixed into a single crate/project with two modules, where theqrcodegen
module is conditionally enabled when thestd
feature of the project is enabled (and thestd
feature is - as usual - in the crate'sdefault = ["std"]
feature); theqrcodegen_no_heap
module (or however you might decide to name it) would always be enabled, of course