bytemuck support for cgmath hasn't been released yet, so using the master branch from github instead. Won't be adding it as submodule yet as it is only temporary
36 lines
739 B
TOML
36 lines
739 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.1"
|
|
wgpu-hal = "0.13.2"
|
|
wgpu-types = "0.13.2"
|
|
wgpu-core = "0.13.2"
|
|
bytemuck = { version = "1.4", features = ["derive"] }
|
|
|
|
[dependencies.image]
|
|
version = "^0.24.2"
|
|
default-features = false
|
|
features = ["png", "jpeg"]
|
|
|
|
[patch.crates-io]
|
|
cgmath = { path = "cgmath" }
|
|
|