pixels 0.17.0

A tiny library providing a GPU-powered pixel frame buffer.
Documentation
[package]
name = "pixels"
description = "A tiny library providing a GPU-powered pixel frame buffer."
version = "0.17.0"
authors = ["Jay Oster <jay@kodewerx.org>"]
edition = "2024"
rust-version = "1.88.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"
raw-window-handle = "0.6"
thiserror = "2"
ultraviolet = "0.10"
wgpu = "29"

[target.'cfg(target_arch = "wasm32")'.dependencies]
wgpu = { version = "29", features = ["webgl"] }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = "0.4"

[dev-dependencies]
pixels-mocks = { path = "internals/pixels-mocks" }
winit = "0.30"

[workspace]
members = [
    "examples/*",
    "internals/*",
    "run-wasm",
]

# Dependencies that are shared by the workspace.
[workspace.dependencies]
env_logger = "0.11"
error-iter = "0.4"
log = "0.4"
winit = "0.30"
winit_input_helper = "0.17"

# Note that `pixels` is pinned to a published version to allow users to copy working code from the
# examples into their own projects. The example packages that use this workspace version will not be
# able to build against the local working copy while developing by default.
#
# Temporarily change the dependency to use a path specification while testing in development.
pixels = "0.16"
# pixels = { path = "." }