forked from djeedai/bevy_hanabi
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
128 lines (101 loc) Β· 3.21 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
[package]
name = "bevy_hanabi"
version = "0.8.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"]
[features]
default = ["2d", "3d", "gpu_tests"]
# Enable support for rendering through a 2D camera (Camera2dBundle)
2d = []
# Enable support for rendering through a 3D camera (Camera3dBundle)
3d = []
# 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 = []
[dependencies]
bytemuck = { version = "1.7.2", features = ["derive"] }
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"
[dependencies.bevy]
version = "0.11"
default-features = false
features = [ "bevy_core_pipeline", "bevy_render", "bevy_asset", "x11" ]
[package.metadata.docs.rs]
all-features = true
[dev-dependencies]
# Same version as Bevy 0.11 (bevy_render)
wgpu = "0.16"
# For shader snippet validation
naga = "0.12"
naga_oil = "0.8"
futures = "0.3"
bevy-inspector-egui = "0.19"
[[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", "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", "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" ]
[workspace]
resolver = "2"
members = ["."]