Update README dependency example to 0.12

This commit is contained in:
Isaac Parker 2020-06-29 22:39:15 -06:00 committed by GitHub
parent 59a30b9d12
commit 77cac657df

View file

@ -13,14 +13,14 @@ Cargo.toml
```toml
[dependencies]
qrcode = "0.11"
qrcode = "0.12"
```
The default settings will depend on the `image` crate. If you don't need image generation capability, disable the `default-features`:
```toml
[dependencies]
qrcode = { version = "0.11", default-features = false }
qrcode = { version = "0.12", default-features = false }
```
Example