Skip to content

Commit 0695f03

Browse files
committed
set version = 0.14.1
1 parent d1b3426 commit 0695f03

File tree

3 files changed

+5
-5
lines changed

3 files changed

+5
-5
lines changed

Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
name = "qrcode"
33
description = "QR code encoder in Rust"
44
license = "MIT OR Apache-2.0"
5-
version = "0.14.0"
5+
version = "0.14.1"
66
edition = "2021"
77
rust-version = "1.67.1"
88
authors = ["kennytm <[email protected]>"]

README.md

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,14 +12,14 @@ Cargo.toml
1212

1313
```toml
1414
[dependencies]
15-
qrcode = "0.13"
15+
qrcode = "0.14.1"
1616
```
1717

1818
The default settings will depend on the `image` crate. If you don't need image generation capability, disable the `default-features`:
1919

2020
```toml
2121
[dependencies]
22-
qrcode = { version = "0.13", default-features = false }
22+
qrcode = { version = "0.14.1", default-features = false }
2323
```
2424

2525
Example

src/render/pic.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -58,10 +58,10 @@ impl RenderCanvas for Canvas {
5858
}
5959

6060
fn draw_dark_rect(&mut self, left: u32, top: u32, width: u32, height: u32) {
61-
write!(self.pic, "p({left},{top},{width},{height})\n").unwrap();
61+
writeln!(self.pic, "p({left},{top},{width},{height})").unwrap();
6262
}
6363

64-
fn into_image(mut self) -> String {
64+
fn into_image(self) -> String {
6565
self.pic
6666
}
6767
}

0 commit comments

Comments
 (0)