forked from nannou-org/nannou
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathCargo.toml
33 lines (29 loc) · 1.08 KB
/
Cargo.toml
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
[package]
name = "nannou_wgpu"
version ="0.19.0"
authors = ["mitchmindtree <[email protected]>"]
description = "Items related to wgpu and its integration in nannou - a creative coding framework for Rust."
readme = "README.md"
license = "MIT"
repository = "https://github.com/nannou-org/nannou.git"
homepage = "https://nannou.cc"
edition = "2018"
[dependencies]
futures = "0.3"
image = { version = "0.23", optional = true }
instant = { version = "0.1.9", optional = true }
num_cpus = { version = "1", optional = true }
wgpu_upstream = { version = "0.17.1", package = "wgpu" }
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
tokio = { version = "1", features = ["full"]}
[target.'cfg(target_arch = "wasm32")'.dependencies]
tokio = { version = "1", features = ["rt"]}
[features]
capturer = ["image", "instant", "num_cpus"]
replay = ["wgpu_upstream/replay"]
serde = ["wgpu_upstream/serde"]
spirv = ["wgpu_upstream/spirv"]
trace = ["wgpu_upstream/trace"]
webgl = ["wgpu_upstream/webgl"]
[package.metadata.docs.rs]
features = ["capturer", "image", "replay", "serde", "spirv", "trace", "webgl"]