[package] name = "ferretro" version = "0.1.0" authors = ["lifning ", "viv ", "iliana "] edition = "2018" [build-dependencies] cc = "^1" [dependencies] libretro-sys = "^0.1" failure = "^0.1" libloading = "^0.5" num_enum = "^0.4" structopt = "^0.3" sdl2 = { version = "^0.32", optional = true } crossbeam-channel = { version = "^0.4", optional = true } [features] with-sdl2 = ["sdl2", "crossbeam-channel"] [[bin]] name = "example" path = "src/bin/example.rs" required-features = ["with-sdl2"]