Commit 64225f5acd191c9f25a4b9fcfae86b7ad0e68309

constantoine 2022-05-05T12:48:52

Disable image default features Signed-off-by: constantoine <cleo.rebert@gmail.com>

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
diff --git a/Cargo.toml b/Cargo.toml
index 2886619..c3cf279 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -1,6 +1,6 @@
 [package]
 name = "totp-rs"
-version = "1.2.0"
+version = "1.2.1"
 authors = ["Cleo Rebert <cleo.rebert@gmail.com>"]
 edition = "2021"
 readme = "README.md"
@@ -27,5 +27,5 @@ hmac = "~0.12.1"
 base32 = "~0.4"
 constant_time_eq = "~0.2.1"
 qrcodegen = { version = "~1.8", optional = true }
-image = { version = "~0.24.2", optional = true}
+image = { version = "~0.24.2", features = ["png"], optional = true, default-features = false}
 base64 = { version = "~0.13", optional = true }