ferretro/ferretro_components/Cargo.toml

33 lines
814 B
TOML
Raw Permalink Normal View History

[package]
name = "ferretro_components"
version = "0.1.0"
2021-08-19 01:17:38 +02:00
authors = ["lifning <lifning+git@pm.me>", "viv <vvnl+git@protonmail.com>"]
edition = "2021"
[build-dependencies]
cc = "^1"
[dependencies]
2021-11-12 01:09:14 +01:00
ferretro_base = { path = "../ferretro_base" }
libloading = "0.5"
num_enum = "0.4"
ffmpeg-next = { version = "4.3.8", optional = true }
sdl2 = { version = "0.35.1", optional = true, features = ["gfx"] }
2021-08-22 06:45:57 +02:00
gl = { version = "0.14", optional = true }
cpal = { version = "0.13.3", optional = true }
ringbuf = { version = "0.2", optional = true }
tempfile = "3"
[dev-dependencies]
structopt = "0.3"
[features]
2021-11-12 01:09:14 +01:00
static = ["ferretro_base/static"]
ffmpeg_comp = ["ffmpeg-next"]
sdl2_comp = ["sdl2", "gl", "ringbuf"]
cpal_comp = ["cpal", "ringbuf"]
2021-10-16 06:37:48 +02:00
[[example]]
name = "multifunction_emulator"
2021-12-11 00:53:02 +01:00
required-features = ["sdl2_comp"]