ggdt/libretrogd/Cargo.toml
Gered a7c91adaf0 convert sdl2 events to our own equivalents
this is to not force _some_ sdl2 type usage onto applications, thus
forcing them to also include sdl2 as a dependency themselves.

that being said, this is still pretty gross feeling to me and i wish
there was a better solution.

i've not added all possible sdl2 event equivalents. only the ones that
i am currently interested in and use. i'll add more as is needed. likely
the joystick / controller events will be added in the very near future.
2023-01-18 17:02:45 -05:00

38 lines
756 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]
sdl2 = { git = "https://github.com/Rust-SDL2/rust-sdl2/", rev = "819ab438ac971a922d6ee1da558822002d343b4e", features = ["static-link", "bundled", "use-pkgconfig", "unsafe_textures"] }
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"
[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