From eba6e3376490f2b0693f75fda7c0b6ab5e68da6c Mon Sep 17 00:00:00 2001 From: Akshay Date: Thu, 22 Apr 2021 16:59:45 +0530 Subject: add sdl2 dependency --- Cargo.toml | 15 +++++++++++++++ 1 file changed, 15 insertions(+) (limited to 'Cargo.toml') diff --git a/Cargo.toml b/Cargo.toml index d343a43..3234a7f 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -3,9 +3,24 @@ name = "obi" version = "0.1.0" authors = ["Akshay "] edition = "2018" +description = "the 1-bit image format" +homepage = "https://github.com/nerdypepper/obi" +repository = "https://github.com/nerdypepper/obi" +readme = './readme.md' +license = "MIT" # See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html [dependencies] byteorder = "1.4.2" bitvec = "0.21.0" +sdl2 = {version = "0.34", optional = true} + +[features] +default = [] +viewer = ["sdl2"] + +[[bin]] +name = "obiv" +path = "src/bin/viewer.rs" +required-features = ["viewer"] -- cgit v1.2.3