[package]
name = "videocard_renderer"
description = "An interface for rendering a MartyPC video device to a graphics Backend"
authors = ["Daniel Balsom", "Andrew Jenner (reenigne)"]
version.workspace = true
edition.workspace = true
license.workspace = true

[lib]
name = "videocard_renderer"
path = "src/lib.rs"
crate-type = ["lib"]

[dependencies]
marty_common = { path = "../../common" }
display_backend_trait = { path = "../../backend/display_backend_trait" }
marty_core = { path = "../../../core" }
bytemuck = { workspace=true, features = ["derive"] }
cgmath = "0.18.0"
glam = "0.24"
fast_image_resize = "2.7.3"
image = { workspace = true, default-features = false, features = ["png"] }
rand = "0.8.5"
log = "0.4"
serde = { workspace = true, features = ["derive"] }
web-time.workspace = true

[dev-dependencies]
criterion = "0.5"
bytemuck = { version = "1.13.1", features = ["derive"] }

[features]
ega = []

[[bench]]
name = "render_bench"
harness = false