-
Notifications
You must be signed in to change notification settings - Fork 4
Expand file tree
/
Copy pathCargo.toml
More file actions
125 lines (99 loc) · 2.7 KB
/
Cargo.toml
File metadata and controls
125 lines (99 loc) · 2.7 KB
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
117
118
119
120
121
122
123
124
125
[package]
name = "processing"
version = "0.1.0"
edition = "2024"
autoexamples = false
[lints]
workspace = true
[features]
default = ["wayland"]
wayland = ["processing_render/wayland"]
x11 = ["processing_render/x11"]
webcam = ["dep:processing_webcam"]
[workspace]
resolver = "3"
members = ["crates/*"]
[workspace.lints.clippy]
type_complexity = "allow"
too_many_arguments = "allow"
[workspace.dependencies]
bevy = { git = "https://github.com/bevyengine/bevy", branch = "main", features = ["file_watcher", "shader_format_wesl"] }
bevy_naga_reflect = { git = "https://github.com/tychedelia/bevy_naga_reflect" }
naga = { version = "28", features = ["wgsl-in"] }
wesl = { version = "0.3", default-features = false }
processing = { path = "." }
processing_core = { path = "crates/processing_core" }
processing_pyo3 = { path = "crates/processing_pyo3" }
processing_render = { path = "crates/processing_render" }
processing_midi = { path = "crates/processing_midi" }
processing_webcam = { path = "crates/processing_webcam" }
[dependencies]
bevy = { workspace = true }
processing_core = { workspace = true }
processing_render = { workspace = true }
processing_midi = { workspace = true }
processing_webcam = { workspace = true, optional = true }
tracing = "0.1"
tracing-subscriber = { version = "0.3", features = ["env-filter"] }
[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen-futures = "0.4"
js-sys = "0.3"
web-sys = { version = "0.3", features = ["Window"] }
[dev-dependencies]
glfw = "0.60.0"
[target.'cfg(target_os = "linux")'.dev-dependencies]
glfw = { version = "0.60.0", features = ["wayland"] }
[[example]]
name = "rectangle"
path = "examples/rectangle.rs"
[[example]]
name = "background_image"
path = "examples/background_image.rs"
[[example]]
name = "update_pixels"
path = "examples/update_pixels.rs"
[[example]]
name = "transforms"
path = "examples/transforms.rs"
[[example]]
name = "box"
path = "examples/box.rs"
[[example]]
name = "animated_mesh"
path = "examples/animated_mesh.rs"
[[example]]
name = "custom_attribute"
path = "examples/custom_attribute.rs"
[[example]]
name = "lights"
path = "examples/lights.rs"
[[example]]
name = "materials"
path = "examples/materials.rs"
[[example]]
name = "pbr"
path = "examples/pbr.rs"
[[example]]
name = "midi"
path = "examples/midi.rs"
[[example]]
name = "gltf_load"
path = "examples/gltf_load.rs"
[[example]]
name = "webcam"
path = "examples/webcam.rs"
required-features = ["webcam"]
[[example]]
name = "stroke_2d"
path = "examples/stroke_2d.rs"
[[example]]
name = "stroke_3d"
path = "examples/stroke_3d.rs"
[[example]]
name = "custom_material"
path = "examples/custom_material.rs"
[profile.wasm-release]
inherits = "release"
opt-level = "z"
lto = "fat"
codegen-units = 1