-
-
Notifications
You must be signed in to change notification settings - Fork 146
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (53 loc) · 1.5 KB
/
Cargo.toml
File metadata and controls
60 lines (53 loc) · 1.5 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
[package]
name = "pixels"
description = "A tiny library providing a GPU-powered pixel frame buffer."
version = "0.17.1"
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.17"
# pixels = { path = "." }