forked from amethyst/amethyst
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
159 lines (144 loc) · 5.17 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
[package]
name = "amethyst"
version = "0.16.0"
authors = [
"Eyal Kalderon <ebkalderon@gmail.com>",
"Amethyst Foundation <contact@amethyst.rs>",
]
edition = "2018"
description = "Data-oriented game engine written in Rust"
exclude = ["examples/*", "book/*"]
keywords = ["game", "engine", "sdk", "amethyst"]
categories = ["game-engines"]
documentation = "https://docs.amethyst.rs/stable/amethyst"
homepage = "https://amethyst.rs/"
repository = "https://github.com/amethyst/amethyst"
readme = "README.md"
license = "MIT OR Apache-2.0"
autoexamples = false # Our examples come with their own Cargo.toml and are in the [workspace] section
[lib]
crate-type = ["lib"]
[features]
default = ["parallel", "renderer", "utils", "no-slow-safety-checks", "asset-daemon"]
optional = ["audio", "network", "locale", "ui", "tiles", "animation",]
tiles = ["amethyst_tiles"]
animation = ["amethyst_animation"]
audio = ["amethyst_audio"]
gltf = ["amethyst_gltf", "amethyst_animation"]
locale = ["amethyst_locale"]
network = ["amethyst_network"]
utils = ["amethyst_utils"]
renderer = ["amethyst_rendy"]
ui = ["amethyst_ui", "amethyst_animation/ui"]
empty = ["amethyst_rendy/empty"]
vulkan = ["amethyst_rendy/vulkan"]
metal = ["amethyst_rendy/metal"]
profiler = [
"thread_profiler",
"thread_profiler/thread_profiler",
"amethyst_animation/profiler",
"amethyst_assets/profiler",
"amethyst_audio/profiler",
"amethyst_config/profiler",
"amethyst_core/profiler",
"amethyst_controls/profiler",
"amethyst_input/profiler",
"amethyst_locale/profiler",
"amethyst_rendy/profiler",
"amethyst_ui/profiler",
"amethyst_utils/profiler",
"amethyst_tiles/profiler",
"amethyst_gltf/profiler",
]
# sdl_controller = ["amethyst_input/sdl_controller"]
json = ["amethyst_assets/json"]
server = ["locale", "network"]
no-slow-safety-checks = ["amethyst_rendy/no-slow-safety-checks"]
shader-compiler = ["amethyst_rendy/shader-compiler"]
test-support = ["amethyst_rendy/test-support", "amethyst_window/test-support"]
experimental-spirv-reflection = ["amethyst_rendy/experimental-spirv-reflection"]
parallel = ["amethyst_core/parallel"]
# asset-packfile = ["amethyst_assets/packfile"]
asset-daemon = ["amethyst_assets/asset-daemon"]
[workspace]
members = ["examples/*", "amethyst_*"]
exclude = [
"amethyst_test",
"examples/Cargo.toml",
"examples/_unused_assets",
"examples/README.md",
"examples/LICENSE_ASSETS.md",
"examples/LICENSE_AUDIO.txt",
"examples/LICENSE_TEXTURES.txt",
"examples/renderable",
"examples/renderable_custom",
"examples/rendy",
"examples/states_ui",
"examples/state_dispatcher",
"examples/prefab_multi",
"examples/prefab_custom",
"examples/prefab_adapter",
"examples/ui",
"examples/custom_ui",
"examples/custom_game_data",
]
[dependencies]
amethyst_animation = { path = "amethyst_animation", version = "0.16.0", optional = true }
amethyst_assets = { path = "amethyst_assets", version = "0.16.0" }
amethyst_audio = { path = "amethyst_audio", version = "0.16.0", optional = true }
amethyst_config = { path = "amethyst_config", version = "0.16.0" }
amethyst_core = { path = "amethyst_core", version = "0.16.0" }
amethyst_error = { path = "amethyst_error", version = "0.16.0" }
amethyst_controls = { path = "amethyst_controls", version = "0.16.0" }
amethyst_derive = { path = "amethyst_derive", version = "0.16.0" }
amethyst_gltf = { path = "amethyst_gltf", version = "0.16.0", optional = true }
amethyst_network = { path = "amethyst_network", version = "0.16.0", optional = true }
amethyst_locale = { path = "amethyst_locale", version = "0.16.0", optional = true }
amethyst_rendy = { path = "amethyst_rendy", version = "0.16.0", features = ["window"], optional = true }
amethyst_input = { path = "amethyst_input", version = "0.16.0" }
amethyst_ui = { path = "amethyst_ui", version = "0.16.0", optional = true }
amethyst_utils = { path = "amethyst_utils", version = "0.16.0", optional = true }
amethyst_window = { path = "amethyst_window", version = "0.16.0" }
amethyst_tiles = { path = "amethyst_tiles", version = "0.16.0", optional = true }
winit = { version = "0.25", features = ["serde"] }
crossbeam-channel = "0.5"
derivative = "2.2.0"
log = { version = "0.4", features = ["serde"] }
rayon = "1.5"
rustc_version_runtime = "0.2.0"
sentry = { version = "0.22.0", optional = true }
serde = { version = "1", features = ["derive"] }
palette = { version = "0.5", default-features = false, features = ["serde", "std"] }
thread_profiler = { version = "0.3.0", optional = true }
lazy_static = "1.4.0"
glsl-layout = "0.4"
# until https://github.com/amethyst/legion/pull/186 passed
legion = { git = "https://github.com/amethyst/legion", rev = "0b058dd8bd3190d5d5d1d29f62571bb8b70c3b93", default-features = false, features = [
"serialize",
"crossbeam-events",
"codegen",
] }
[build-dependencies]
dirs-next = "2.0.0"
vergen = "3.2.0"
[dev-dependencies]
derive_more = "0.99.14"
doc-comment = "0.3.3"
env_logger = "0.8.4"
err-derive = "0.3.0"
glob = "0.3.0"
ron = "0.6.4"
type-uuid = "0.1.2"
[package.metadata.docs.rs]
features = [
"animation",
"audio",
"gltf",
"tiles",
"json",
"locale",
"network",
"ui",
"sdl_controller",
"vulkan",
]