pixels/Cargo.toml

41 lines
955 B
TOML
Raw Normal View History

[package]
name = "pixels"
description = "A tiny library providing a GPU-powered pixel frame buffer."
2023-06-13 07:27:41 +10:00
version = "0.13.0"
authors = ["Jay Oster <jay@kodewerx.org>"]
edition = "2021"
rust-version = "1.64.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",
2021-06-18 13:21:05 +10:00
"/shaders/*.wgsl",
"/src/**/*",
]
[dependencies]
bytemuck = "1.12"
2024-02-08 15:05:59 +11:00
raw-window-handle = "0.6"
thiserror = "1.0"
2022-03-21 12:42:19 +11:00
ultraviolet = "0.9"
2024-07-20 17:50:41 +10:00
wgpu = "22.0.0"
[target.'cfg(target_arch = "wasm32")'.dependencies]
2024-07-20 17:50:41 +10:00
wgpu = { version = "22.0.0", features = ["webgl"] }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
pollster = "0.3"
[dev-dependencies]
pixels-mocks = { path = "internals/pixels-mocks" }
2024-07-20 17:50:41 +10:00
winit = "0.29.15"
[workspace]
2024-02-08 15:05:59 +11:00
members = ["examples/*", "internals/*", "run-wasm"]