-
-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
116 lines (92 loc) · 2.74 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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
[package]
name = "glass"
version = "0.3.0"
edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[features]
default = []
egui_gui = ["egui-wgpu", "egui-winit", "egui", "egui_extras", "egui_plot", "egui_demo_lib", "egui_demo_lib/syntect"]
egui_persistence = ["egui_gui", "egui/persistence", "egui_demo_lib/serde"]
wgpu_serde = ["wgpu/serde"]
[dependencies]
indexmap = "2.7"
pollster = "0.4"
image = "0.25"
bytemuck = { version = "1.20", features = ["derive"] }
wgpu = { version = "23.0", features = ["naga-ir"] }
winit = { version = "0.30" }
path-clean = "1.0.1"
notify = "6.1"
flume = "0.11"
log = "0.4"
# Optional Egui
egui = { version = "0.30", optional = true }
egui-wgpu = { version = "0.30", optional = true }
egui-winit = { version = "0.30", optional = true }
egui_extras = { version = "0.30", optional = true }
egui_demo_lib = { version = "0.30", optional = true }
egui_plot = { version = "0.30", optional = true }
[dev-dependencies]
rapier2d = { version = "0.22", features = ["default", "debug-render"] }
rand = "0.8"
glam = "0.29"
[lints.clippy]
blocks_in_conditions = "allow"
field_reassign_with_default = "allow"
self_named_constructors = "allow"
too_long_first_doc_paragraph = "allow"
[profile.dev]
opt-level = 3
[profile.dev.package."*"]
opt-level = 3
[[example]]
name = "hello_world"
path = "examples/hello_world.rs"
[package.metadata.example.hello_world]
name = "Hello World"
description = "A traditional hello world example"
[[example]]
name = "game_of_life"
path = "examples/game_of_life/main.rs"
[package.metadata.example.game_of_life]
name = "Game Of Life Compute Shader"
description = "Game of life running a compute shader"
[[example]]
name = "multiple_windows"
path = "examples/multiple_windows/main.rs"
[package.metadata.example.multiple_windows]
name = "Multiple Windows"
description = "Example that opens multiple windows on space key"
[[example]]
name = "quad"
path = "examples/quad/main.rs"
[package.metadata.example.quad]
name = "Quad"
description = "Example that renders a basic Quad"
[[example]]
name = "triangle"
path = "examples/triangle/main.rs"
[package.metadata.example.triangle]
name = "Triangle"
description = "Example that renders a basic Triangle"
[[example]]
name = "egui_gui"
path = "examples/egui_gui.rs"
required-features = ["egui_gui"]
[package.metadata.example.egui_gui]
name = "Egui Gui"
description = "Example that runs an egui demo app"
[[example]]
name = "lines"
path = "examples/lines.rs"
required-features = []
[package.metadata.example.lines]
name = "Line Draw"
description = "Example that draws lines"
[[example]]
name = "sand"
path = "examples/sand/main.rs"
required-features = []
[package.metadata.example.sand]
name = "Sand Sim"
description = "Example sand fall"