[package] name = "piet-glow" version = "0.1.8" edition = "2021" license = "LGPL-3.0-or-later OR MPL-2.0" rust-version = "1.66.0" authors = ["John Nunley "] repository = "https://codeberg.org/notgull/piet-glow" homepage = "https://codeberg.org/notgull/piet-glow" keywords = ["gpu", "graphics", "2d"] categories = ["rendering::graphics-api"] description = "A hardware-accelerated 2D graphics backend for piet using glow" [dependencies] bytemuck = { version = "1.14.0", default-features = false } glow = { version = "0.12.2", default-features = false } piet = { version = "0.6.2", default-features = false } piet-hardware = "0.5.0" tracing = { version = "0.1.40", default-features = false } [target.'cfg(not(target_arch = "wasm32"))'.dev-dependencies] glutin = { version = "0.30.9", default-features = false, features = ["x11", "egl", "wgl", "glx"] } glutin-winit = { version = "0.3.0", default-features = false, features = ["x11", "glx", "egl", "wgl"] } winit = { version = "0.28.6", default-features = false, features = ["x11"] } raw-window-handle = "0.5.2" [target.'cfg(target_arch = "wasm32")'.dev-dependencies.web_sys] version = "~0.3.66" package = "web-sys" features = [ "Document", "Element", "HtmlCanvasElement", "WebGl2RenderingContext" ] [target.'cfg(target_arch = "wasm32")'.dev-dependencies] console_error_panic_hook = "0.1.7" wasm-bindgen = "0.2.89" [dev-dependencies] image = { version = "0.24.7", default-features = false, features = ["png", "jpeg"] } instant = { version = "0.1.12", features = ["wasm-bindgen"] } piet = { version = "0.6.2", features = ["samples"] } tiny-skia = "0.11.3" tracing = { version = "0.1.40", features = ["log"] } tracing-subscriber = "0.3.18" [workspace] resolver = "2" members = ["run-wasm"]