Update README dependency example to 0.12
This commit is contained in:
parent
59a30b9d12
commit
77cac657df
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue