aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAkshay <[email protected]>2021-04-23 12:45:57 +0100
committerAkshay <[email protected]>2021-04-23 12:45:57 +0100
commit390ec1081fc29832b2ca7fc0f4234280c84105cd (patch)
tree6156aa5c6ef8d07d06a28c71baa773b1b621f4de
parent9d2aebbc713ab2a567af8554ada69e993aeac93b (diff)
add png dep
-rw-r--r--Cargo.toml12
1 files changed, 7 insertions, 5 deletions
diff --git a/Cargo.toml b/Cargo.toml
index 3234a7f..0f8e5f1 100644
--- a/Cargo.toml
+++ b/Cargo.toml
@@ -13,14 +13,16 @@ license = "MIT"
13 13
14[dependencies] 14[dependencies]
15byteorder = "1.4.2" 15byteorder = "1.4.2"
16bitvec = "0.21.0" 16bitvec = "0.21.0"
17sdl2 = {version = "0.34", optional = true} 17sdl2 = { version = "0.34", optional = true }
18png = { version = "0.16", optional = true }
18 19
19[features] 20[features]
20default = [] 21default = []
21viewer = ["sdl2"] 22convert = ["png"]
23viewer = ["sdl2"]
22 24
23[[bin]] 25[[bin]]
24name = "obiv" 26name = "obiv"
25path = "src/bin/viewer.rs" 27path = "src/bin/viewer.rs"
26required-features = ["viewer"] 28required-features = ["viewer"]