#yew #qrcode #scanner #bardecoder

yew-scanner

A QR-Code scanner to be used in a yew / wasm context

5 unstable releases

0.3.0 Nov 21, 2023
0.2.1 Apr 12, 2023
0.2.0 Jan 11, 2023
0.1.1 Aug 1, 2022
0.1.0 Jul 15, 2022

#822 in WebAssembly

Custom license

10KB
150 lines

yew-scanner

A simple qrcode scanner to be used in a yew context.

Getting started

Just add this to your project

[dependencies]
yew = "0.19"
yew-scanner = "0.1"

And put this somewhere into your yew-html macro

    <Scanner onscan={ ctx.link().callback(|s: String| { /* your event handler goes here */ }) } />

License

Open Source using the MIT License

Dependencies

~28MB
~322K SLoC