aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"]