ferretro/Cargo.toml

26 lines
493 B
TOML

[package]
name = "rustro"
version = "0.1.0"
authors = ["lifning <lifning+git@pm.me>"]
edition = "2018"
[build-dependencies]
cc = "^1"
[dependencies]
libretro-sys = "^0.1"
failure = "^0.1"
libloading = "^0.5"
num_enum = "^0.4"
structopt = "^0.3"
sdl2 = { version = "^0.32", optional = true }
crossbeam-channel = { version = "^0.4", optional = true }
[features]
with-sdl2 = ["sdl2", "crossbeam-channel"]
[[bin]]
name = "example"
path = "src/bin/example.rs"
required-features = ["with-sdl2"]