2019-09-26 16:07:30 +10:00
|
|
|
[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"
|
2019-09-26 16:07:30 +10:00
|
|
|
authors = ["Jay Oster <jay@kodewerx.org>"]
|
2022-01-01 09:57:57 +11:00
|
|
|
edition = "2021"
|
2023-01-28 17:31:52 +11:00
|
|
|
rust-version = "1.64.0"
|
2019-09-26 16:07:30 +10:00
|
|
|
repository = "https://github.com/parasyte/pixels"
|
|
|
|
readme = "README.md"
|
|
|
|
keywords = ["pixels", "2D", "GPU", "framebuffer"]
|
|
|
|
categories = ["graphics", "rendering"]
|
|
|
|
license = "MIT"
|
2019-11-03 16:44:10 +11:00
|
|
|
include = [
|
|
|
|
"/Cargo.*",
|
|
|
|
"/LICENSE",
|
|
|
|
"/README.md",
|
|
|
|
"/img/pixels.png",
|
2021-06-18 13:21:05 +10:00
|
|
|
"/shaders/*.wgsl",
|
2019-11-03 16:44:10 +11:00
|
|
|
"/src/**/*",
|
|
|
|
]
|
2019-09-26 16:07:30 +10:00
|
|
|
|
|
|
|
[dependencies]
|
2022-08-18 10:30:04 +10:00
|
|
|
bytemuck = "1.12"
|
2022-12-18 08:50:11 +11:00
|
|
|
raw-window-handle = "0.5"
|
2020-08-21 09:49:19 +10:00
|
|
|
thiserror = "1.0"
|
2022-03-21 12:42:19 +11:00
|
|
|
ultraviolet = "0.9"
|
2023-06-12 14:25:25 +10:00
|
|
|
wgpu = "0.16"
|
2022-12-18 08:50:11 +11:00
|
|
|
|
|
|
|
[target.'cfg(target_arch = "wasm32")'.dependencies]
|
2023-06-12 14:25:25 +10:00
|
|
|
wgpu = { version = "0.16", features = ["webgl"] }
|
2019-09-26 16:07:30 +10:00
|
|
|
|
2021-11-17 06:37:56 +11:00
|
|
|
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
|
2023-06-12 14:25:25 +10:00
|
|
|
pollster = "0.3"
|
2021-11-17 06:37:56 +11:00
|
|
|
|
2019-09-26 16:07:30 +10:00
|
|
|
[dev-dependencies]
|
2020-08-21 09:49:19 +10:00
|
|
|
pixels-mocks = { path = "internals/pixels-mocks" }
|
2023-06-12 14:25:25 +10:00
|
|
|
winit = "0.28"
|
2019-11-20 14:37:36 +11:00
|
|
|
|
2019-10-02 12:31:18 +10:00
|
|
|
[workspace]
|
|
|
|
members = [
|
2020-04-14 03:12:18 +10:00
|
|
|
"examples/*",
|
2020-08-21 09:49:19 +10:00
|
|
|
"internals/*",
|
2022-10-03 15:13:48 +11:00
|
|
|
"run-wasm",
|
2019-10-02 12:31:18 +10:00
|
|
|
]
|