[package] name = "pixels" description = "A tiny library providing a GPU-powered pixel frame buffer." version = "0.10.0" authors = ["Jay Oster "] edition = "2021" rust-version = "1.59.0" repository = "https://github.com/parasyte/pixels" readme = "README.md" keywords = ["pixels", "2D", "GPU", "framebuffer"] categories = ["graphics", "rendering"] license = "MIT" include = [ "/Cargo.*", "/LICENSE", "/README.md", "/img/pixels.png", "/shaders/*.wgsl", "/src/**/*", ] [dependencies] bytemuck = "1.12" raw-window-handle = "0.5" thiserror = "1.0" ultraviolet = "0.9" wgpu = "0.14" [target.'cfg(target_arch = "wasm32")'.dependencies] wgpu = { version = "0.14", features = ["webgl"] } [target.'cfg(not(target_arch = "wasm32"))'.dependencies] pollster = "0.2" [dev-dependencies] pixels-mocks = { path = "internals/pixels-mocks" } winit = "0.27" [workspace] members = [ "examples/*", "internals/*", "run-wasm", ]