diff options
-rw-r--r-- | Cargo.toml | 12 |
1 files changed, 7 insertions, 5 deletions
@@ -13,14 +13,16 @@ license = "MIT" | |||
13 | 13 | ||
14 | [dependencies] | 14 | [dependencies] |
15 | byteorder = "1.4.2" | 15 | byteorder = "1.4.2" |
16 | bitvec = "0.21.0" | 16 | bitvec = "0.21.0" |
17 | sdl2 = {version = "0.34", optional = true} | 17 | sdl2 = { version = "0.34", optional = true } |
18 | png = { version = "0.16", optional = true } | ||
18 | 19 | ||
19 | [features] | 20 | [features] |
20 | default = [] | 21 | default = [] |
21 | viewer = ["sdl2"] | 22 | convert = ["png"] |
23 | viewer = ["sdl2"] | ||
22 | 24 | ||
23 | [[bin]] | 25 | [[bin]] |
24 | name = "obiv" | 26 | name = "obiv" |
25 | path = "src/bin/viewer.rs" | 27 | path = "src/bin/viewer.rs" |
26 | required-features = ["viewer"] | 28 | required-features = ["viewer"] |