ferretro/ferretro_components/Cargo.toml

30 lines
724 B
TOML

[package]
name = "ferretro_components"
version = "0.1.0"
authors = ["lifning <lifning+git@pm.me>", "viv <vvnl+git@protonmail.com>"]
edition = "2021"
[build-dependencies]
cc = "^1"
[dependencies]
ferretro_base = { path = "../ferretro_base"}
libloading = "0.5"
num_enum = "0.4"
ffmpeg-next = { version = "4.3.8", optional = true }
sdl2 = { version = "0.32", optional = true }
gl = { version = "0.14", optional = true }
crossbeam-channel = { version = "0.4", optional = true }
[dev-dependencies]
crossbeam-channel = "0.4"
structopt = "0.3"
[features]
ffmpeg_comp = ["ffmpeg-next"]
sdl2_comp = ["sdl2", "gl", "crossbeam-channel"]
[[example]]
name = "multifunction_emulator"
required-features = ["sdl2_comp", "ffmpeg_comp"]