30 lines
744 B
TOML
30 lines
744 B
TOML
[package]
|
|
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"
|
|
|
|
# examples (both)
|
|
structopt = { version = "0.3", optional = true }
|
|
# example: sdl2_emulator
|
|
sdl2 = { version = "0.32", optional = true }
|
|
crossbeam-channel = { version = "0.4", optional = true }
|
|
# example: ffmpeg_recorder
|
|
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"]
|