erwanvivien / fast_qr

Ultra fast QRCode generation
https://fast-qr.com/
MIT License
208 stars 30 forks source link

Use `required-features` example property instead of `compile_error!` #42

Closed JohnTheCoolingFan closed 1 year ago

JohnTheCoolingFan commented 1 year ago

This will make cargo enable features needed for the example automatically without the need for checks in teh example via cfg directives

erwanvivien commented 1 year ago

Could I rebase the commits in your branch and merge ? :)

JohnTheCoolingFan commented 1 year ago

Yes

erwanvivien commented 1 year ago

Big thanks, those are cool changes! I didn't know required-features