forked from djeedai/bevy_hanabi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
161 lines (127 loc) Β· 4.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
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
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
[package]
name = "bevy_hanabi"
version = "0.11.0-dev"
authors = ["Jerome Humbert <[email protected]>"]
edition = "2021"
description = "Hanabi GPU particle system for the Bevy game engine"
repository = "https://github.com/djeedai/bevy_hanabi"
homepage = "https://github.com/djeedai/bevy_hanabi"
documentation = "https://docs.rs/bevy_hanabi"
keywords = ["bevy", "particle-system", "particles", "vfx"]
license = "MIT OR Apache-2.0"
readme = "README.md"
exclude = ["examples/*.gif", "examples/*.png", ".github", "release.md", "run_examples.bat", "run_examples.sh", "deny.toml"]
autoexamples = false
[features]
default = ["2d", "3d", "gpu_tests", "examples_world_inspector"]
# Enable support for rendering through a 2D camera (Camera2dBundle)
2d = []
# Enable support for rendering through a 3D camera (Camera3dBundle)
3d = []
# Enable tracing annotations
trace = []
# Special feature to enable GPU-based tests, which otherwise fail
# on a CI machine without a graphic adapter or without proper drivers.
# This is a testing-only feature, which has no effect on the build.
gpu_tests = []
# Enable world inspector in examples, via bevy-inspector-egui.
# This has no effect on the crate itself, only affects examples.
# Unfortunately cargo doesn't allow example-only features.
# We don't force a dependency on the bevy-inspector-egui crate because:
# 1. dev-dependencies cannot be optional
# 2. there's a bunch of duplicate deps and dodgy licenses pulled
examples_world_inspector = []
[dependencies]
bytemuck = { version = "1", features = ["derive"] }
fixedbitset = "0.4"
copyless = "0.1"
rand = "0.8"
rand_pcg = "0.3"
serde = { version = "1.0", features = ["derive"] }
anyhow = "1.0"
ron = "0.8"
bitflags = "2.3"
typetag = "0.2"
thiserror = "1.0"
# Same versions as Bevy 0.13 (bevy_render)
naga = "0.19"
naga_oil = { version = "0.13", default-features = false, features = ["test_shader"] }
[dependencies.bevy]
version = "0.13"
default-features = false
features = [ "bevy_core_pipeline", "bevy_render", "bevy_asset", "x11" ]
[package.metadata.docs.rs]
all-features = true
[dev-dependencies]
# Same versions as Bevy 0.13 (bevy_render)
wgpu = "0.19.1"
# For world inspector; required if "examples_world_inspector" is used.
bevy-inspector-egui = "0.23"
bevy_egui = "0.25"
egui = "0.26"
# For procedural texture generation in examples
noise = "0.8"
futures = "0.3"
[[example]]
name = "firework"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "portal"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "expr"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "spawn"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "multicam"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "visibility"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "random"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "spawn_on_command"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "activate"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "bevy/bevy_ui", "bevy/default_font", "3d" ]
[[example]]
name = "force_field"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "lifetime"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "init"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "instancing"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "bevy/png", "3d" ]
[[example]]
name = "gradient"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "bevy/png", "3d" ]
[[example]]
name = "circle"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "bevy/png", "3d" ]
[[example]]
name = "billboard"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "bevy/png", "3d" ]
[[example]]
name = "2d"
required-features = [ "bevy/bevy_winit", "bevy/bevy_sprite", "2d" ]
[[example]]
name = "worms"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "bevy/png", "3d" ]
[[example]]
name = "ribbon"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[[example]]
name = "ordering"
required-features = [ "bevy/bevy_winit", "bevy/bevy_pbr", "3d" ]
[workspace]
resolver = "2"
members = ["."]