-
Notifications
You must be signed in to change notification settings - Fork 3
/
Cargo.toml
142 lines (123 loc) · 3.39 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
[package]
name = "bevy_tween"
description = "Flexible tweening plugin library for Bevy"
version = "0.6.0"
edition = "2021"
authors = ["Multirious"]
license = "MIT OR Apache-2.0"
repository = "https://github.com/Multirious/bevy_tween"
homepage = "https://github.com/Multirious/bevy_tween"
documentation = "https://docs.rs/bevy_tween"
readme = "README.md"
keywords = ["bevy", "tween", "tweening", "easing", "animation"]
categories = ["game-development"]
[workspace]
resolver = "2"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
bevy = { version = "0.14.0", default-features = false }
bevy_time_runner = { version = "0.2.0", default-features = false, features = ["bevy_app", "bevy_reflect"] }
serde = { version = "1", optional = true, features = ["derive"] }
bevy_eventlistener = { version = "0.8.0", optional = true }
bevy_lookup_curve = { version = "0.3.0", optional = true }
[dev-dependencies]
bevy-inspector-egui = "0.25.0"
bevy_eventlistener = { version = "0.8.0" }
bevy = { version = "0.14.0", default-features = false, features = [ "bevy_asset", "bevy_render", "bevy_sprite", "tonemapping_luts", "png" ] }
rand = "0.8.5"
[build-dependencies]
rustc_version = "0.4.0"
[features]
default = [
"bevy_asset",
"bevy_render",
"bevy_sprite",
"bevy_eventlistener",
"bevy_ui",
]
# Adds tweening systems for asset
bevy_asset = ["bevy/bevy_asset"]
# Adds nothing just yet but required by the "bevy_sprite" feature.
bevy_render = ["bevy/bevy_render"]
# Add some built-in interpolators related to sprite
bevy_sprite = ["bevy/bevy_sprite", "bevy_render"]
# Adds some built-in interpolators related to ui
bevy_ui = ["bevy/bevy_ui"]
# Add entity-targeted events with bevy_eventlistener
bevy_eventlistener = ["dep:bevy_eventlistener", "bevy_time_runner/bevy_eventlistener"]
# Supports for `bevy_lookup_curve` (https://github.com/villor/bevy_lookup_curve)
bevy_lookup_curve = ["dep:bevy_lookup_curve"]
# Derive Serialize and Deserialize for some types
serde = ["dep:serde"]
[package.metadata.docs.rs]
all-features = true
[[example]]
name = "banner_bounce"
path = "examples/animation/banner_bounce.rs"
required-features = [
"bevy_sprite",
"bevy_asset",
]
[[example]]
name = "banner_triangle"
path = "examples/animation/banner_triangle.rs"
required-features = [
"bevy_sprite",
"bevy_asset",
]
[[example]]
name = "thumbnail_triangle"
path = "examples/animation/thumbnail_triangle.rs"
required-features = [
"bevy_sprite",
]
[[example]]
name = "follow"
path = "examples/demo/follow.rs"
required-features = [
"bevy_sprite",
"bevy_asset",
]
[[example]]
name = "click"
path = "examples/demo/click.rs"
required-features = [
"bevy_sprite",
"bevy_asset",
]
[[example]]
name = "hold"
path = "examples/demo/hold.rs"
required-features = [
"bevy_sprite",
"bevy_asset",
]
[[example]]
name = "event"
path = "examples/demo/event.rs"
required-features = [
"bevy_sprite",
"bevy_asset",
]
[[example]]
name = "entity_event"
path = "examples/demo/entity_event.rs"
required-features = [
"bevy_eventlistener"
]
[[example]]
name = "sprite_sheet"
path = "examples/demo/sprite_sheet.rs"
required-features = [
"bevy_sprite",
]
[[example]]
name = "entity_structure"
path = "examples/entity_structure.rs"
[[example]]
name = "bevy_lookup_curve"
path = "examples/bevy_lookup_curve.rs"
required-features = [
"bevy_sprite",
"bevy_lookup_curve",
]