[package] name = "ferretro" version = "0.1.0" authors = ["lifning ", "viv ", "iliana "] edition = "2018" [build-dependencies] cc = "^1" [dependencies] libretro-sys = "0.1" libloading = "0.5" num_enum = "0.4" ffmpeg-next = { version = "4.3.8", optional = true } sdl2 = { version = "0.32", optional = true } crossbeam-channel = { version = "0.4", optional = true } [dev-dependencies] # example: sdl2_emulator sdl2 = "0.32" crossbeam-channel = "0.4" structopt = "0.3" # example: ffmpeg_recorder ffmpeg-next = "4.3.8" [features] ffmpeg_comp = ["ffmpeg-next"] sdl2_comp = ["sdl2", "crossbeam-channel"]