piderman314 / bardecoder

Detect and decode QR Codes, written in 100% Rust.
MIT License
272 stars 34 forks source link

expected enum `image::dynimage::DynamicImage`, found a different enum `image::dynimage::DynamicImage` #10

Closed mantou132 closed 4 years ago

mantou132 commented 4 years ago

Installed bardecoder as a dependency, but cannot use image library like example.

piderman314 commented 4 years ago

This sounds like a version mismatch. Do you have the image library as a dependency yourself? If so, what version?

mantou132 commented 4 years ago

Thank you. The version of image I installed is 0.22. Changing to 0.21 will not cause this error.

piderman314 commented 4 years ago

It's updated to 0.22 on the master branch a while back if you really want to use that version of image.