-
Notifications
You must be signed in to change notification settings - Fork 16
/
Cargo.toml
69 lines (55 loc) · 1.31 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
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
61
62
63
64
65
66
67
68
69
[package]
name = "rgx"
version = "0.8.1"
description = "Mid-level 2D graphics abstraction with a wgpu backend"
repository = "https://github.com/cloudhead/rgx"
homepage = "https://github.com/cloudhead/rgx"
documentation = "https://docs.rs/rgx"
authors = ["Alexis Sellier <[email protected]>"]
license = "MIT"
edition = "2018"
keywords = ["graphics", "gamedev", "wgpu", "2d"]
[package.metadata.docs.rs]
all-features = true
[lib]
name = "rgx"
[features]
default = []
renderer = ["wgpu", "raw-window-handle"]
[dependencies]
wgpu = { version = "0.4.0", optional = true }
cgmath = { version = "0.17.0", optional = true }
num-traits = "0.2.8"
raw-window-handle = { version = "0.3", optional = true }
[dev-dependencies]
chrono = "0.4"
winit = "0.20.0"
image = "0.22.1"
criterion = "0.2.11"
[[bench]]
name = "benchmark"
harness = false
[[example]]
name = "shapes"
required-features = ["renderer"]
[[example]]
name = "clock"
required-features = ["renderer"]
[[example]]
name = "threaded"
required-features = ["renderer"]
[[example]]
name = "helloworld"
required-features = ["renderer"]
[[example]]
name = "offscreen"
required-features = ["renderer"]
[[example]]
name = "screenshot"
required-features = ["renderer"]
[[example]]
name = "sprite"
required-features = ["renderer"]
[[example]]
name = "circles"
required-features = ["renderer"]