ggdt/libretrogd/Cargo.toml
Gered 2a2d8533bc specify sdl2 dep with non-windows and windows for build differences
may need to be fine-tuned still, as i've not done very thorough testing
on all platforms as of yet, but this will get things started at least
2023-01-18 17:38:46 -05:00

43 lines
978 B
TOML

[package]
name = "libretrogd"
description = "A 'retro'-like game development library, for funsies."
version = "0.1.0"
authors = ["Gered King <gered@blarg.ca>"]
edition = "2021"
[features]
low_res = []
wide = []
[dependencies]
byte-slice-cast = "1.2.1"
byteorder = "1.4.3"
thiserror = "=1.0.30"
rand = "0.8.5"
num-traits = "0.2.14"
bitflags = "1.3"
[target.'cfg(not(windows))'.dependencies]
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }
[target.'cfg(windows)'.dependencies]
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["unsafe_textures"] }
[dev-dependencies]
claim = "0.5.0"
criterion = "0.3.5"
anyhow = "=1.0.55"
tempfile = "3.3.0"
[[bench]]
name = "bitmap"
harness = false
[[bench]]
name = "blit"
harness = false
[[bench]]
name = "loading"
harness = false