canvas/Cargo.toml
Steins7 1081051084 Got model matrix to work
For now the matrix is sent as a push constant but since WebGL doesn't
support them and will likely never support them big enough for a matrix,
they will in the future be sent in a uniform buffer
2022-08-20 14:43:29 +02:00

32 lines
672 B
TOML

[package]
name = "canvas"
version = "0.1.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
# general dependencies
log = "^0.4.17"
chrono = "^0.4.19"
fern = { version = "^0.6.1", features = ["colored"] }
bitflags = "^1.3.2"
cgmath = { version = "^0.18.0", features = ["bytemuck"] }
pollster = "^0.2.5"
# surface creation
winit = "^0.26.1"
raw-window-handle = "^0.4.3"
# gpu API
wgpu = "0.13.0"
wgpu-hal = "0.13.2"
wgpu-types = "0.13.2"
bytemuck = { version = "1.4", features = [ "derive" ] }
[dependencies.image]
version = "^0.24.2"
default-features = false
features = ["png", "jpeg"]