ferretro/ferretro_base/Cargo.toml

30 lines
744 B
TOML
Raw Normal View History

[package]
2021-08-18 23:47:57 +02:00
name = "ferretro_base"
version = "0.1.0"
authors = ["lifning <lifning+git@pm.me>", "viv <vvnl+git@protonmail.com>", "iliana <iliana@buttslol.net>"]
edition = "2018"
[build-dependencies]
cc = "^1"
[dependencies]
libretro-sys = "0.1"
libloading = "0.5"
num_enum = "0.4"
2021-10-16 06:37:48 +02:00
# examples (both)
structopt = { version = "0.3", optional = true }
# example: sdl2_emulator
2021-10-16 06:37:48 +02:00
sdl2 = { version = "0.32", optional = true }
crossbeam-channel = { version = "0.4", optional = true }
# example: ffmpeg_recorder
2021-10-16 06:37:48 +02:00
ffmpeg-next = { version = "4.3.8", optional = true }
[features]
example_sdl2 = ["sdl2", "crossbeam-channel", "structopt"]
example_ffmpeg = ["ffmpeg-next", "structopt"]
[[example]]
name = "sdl2_emulator"
required-features = ["example_sdl2"]