@@ -3,102 +3,88 @@ name = "bevy"
3
3
version = " 0.3.0"
4
4
edition = " 2018"
5
5
authors = [
6
- " Bevy Contributors <bevyengine@gmail.com>" ,
7
- " Carter Anderson <mcanders1@gmail.com>" ,
6
+ " Bevy Contributors <bevyengine@gmail.com>" ,
7
+ " Carter Anderson <mcanders1@gmail.com>" ,
8
8
]
9
+ categories = [" game-engines" , " graphics" , " gui" , " rendering" ]
9
10
description = " A refreshingly simple data-driven game engine and app framework"
11
+ exclude = [" assets/**/*" , " tools/**/*" , " .github/**/*" , " crates/**/*" ]
10
12
homepage = " https://bevyengine.org"
11
- repository = " https://github.com/bevyengine/bevy"
12
- license = " MIT"
13
13
keywords = [" game" , " engine" , " gamedev" , " graphics" , " bevy" ]
14
- categories = [" game-engines" , " graphics" , " gui" , " rendering" ]
15
- readme = " README.md"
16
- exclude = [" assets/**/*" , " tools/**/*" , " .github/**/*" , " crates/**/*" ]
14
+ license = " MIT"
15
+ repository = " https://github.com/bevyengine/bevy"
16
+
17
+ [workspace ]
18
+ exclude = [" benches" ]
19
+ members = [" crates/*" , " crates/bevy_ecs/hecs" , " examples/ios" ]
17
20
18
21
[features ]
19
22
default = [
20
- " bevy_audio" ,
21
- " bevy_dynamic_plugin" ,
22
- " bevy_gilrs" ,
23
- " bevy_gltf" ,
24
- " bevy_wgpu" ,
25
- " bevy_winit" ,
26
- " render" ,
27
- " png" ,
28
- " hdr" ,
29
- " mp3" ,
30
- " x11" ,
23
+ " bevy_audio" ,
24
+ " bevy_dynamic_plugin" ,
25
+ " bevy_gilrs" ,
26
+ " bevy_gltf" ,
27
+ " bevy_wgpu" ,
28
+ " bevy_winit" ,
29
+ " render" ,
30
+ " png" ,
31
+ " hdr" ,
32
+ " mp3" ,
33
+ " x11" ,
31
34
]
32
35
33
- profiler = [ " bevy_ecs/profiler " , " bevy_diagnostic/profiler " ]
34
- wgpu_trace = [" bevy_wgpu/trace " ]
36
+ # Force dynamic linking, which improves iterative compile times
37
+ dynamic = [" bevy_dylib " ]
35
38
36
39
# Rendering support
37
- render = [" bevy_pbr" , " bevy_render" , " bevy_sprite" , " bevy_text" , " bevy_ui" ]
40
+ render = [" bevy_internal/bevy_pbr" , " bevy_internal/bevy_render" , " bevy_internal/bevy_sprite" , " bevy_internal/bevy_text" , " bevy_internal/bevy_ui" ]
41
+
42
+ # Optional bevy crates
43
+ bevy_audio = [" bevy_internal/bevy_audio" ]
44
+ bevy_dynamic_plugin = [" bevy_internal/bevy_dynamic_plugin" ]
45
+ bevy_gilrs = [" bevy_internal/bevy_gilrs" ]
46
+ bevy_gltf = [" bevy_internal/bevy_gltf" ]
47
+ bevy_wgpu = [" bevy_internal/bevy_wgpu" ]
48
+ bevy_winit = [" bevy_internal/bevy_winit" ]
49
+
50
+ profiler = [" bevy_internal/profiler" ]
51
+ wgpu_trace = [" bevy_internal/wgpu_trace" ]
52
+
38
53
# Image format support for texture loading (PNG and HDR are enabled by default)
39
- png = [" bevy_render/png " ]
40
- hdr = [" bevy_render/hdr " ]
54
+ hdr = [" bevy_internal/hdr " ]
55
+ png = [" bevy_internal/png " ]
41
56
42
57
# Audio format support (MP3 is enabled by default)
43
- mp3 = [" bevy_audio/mp3 " ]
44
- flac = [" bevy_audio/flac " ]
45
- wav = [" bevy_audio/wav " ]
46
- vorbis = [" bevy_audio/vorbis " ]
58
+ flac = [" bevy_internal/flac " ]
59
+ mp3 = [" bevy_internal/mp3 " ]
60
+ vorbis = [" bevy_internal/vorbis " ]
61
+ wav = [" bevy_internal/wav " ]
47
62
48
- serialize = [" bevy_input /serialize" ]
63
+ serialize = [" bevy_internal /serialize" ]
49
64
50
65
# Display server protocol support (X11 is enabled by default)
51
- wayland = [" bevy_winit/wayland" ]
52
- x11 = [" bevy_winit/x11" ]
53
-
54
- [workspace ]
55
- members = [" crates/*" , " crates/bevy_ecs/hecs" , " examples/ios" ]
56
- exclude = [" benches" ]
66
+ wayland = [" bevy_internal/wayland" ]
67
+ x11 = [" bevy_internal/x11" ]
57
68
58
69
[dependencies ]
59
- # bevy
60
- bevy_app = { path = " crates/bevy_app" , version = " 0.3.0" }
61
- bevy_asset = { path = " crates/bevy_asset" , version = " 0.3.0" }
62
- bevy_type_registry = { path = " crates/bevy_type_registry" , version = " 0.3.0" }
63
- bevy_core = { path = " crates/bevy_core" , version = " 0.3.0" }
64
- bevy_diagnostic = { path = " crates/bevy_diagnostic" , version = " 0.3.0" }
65
- bevy_ecs = { path = " crates/bevy_ecs" , version = " 0.3.0" }
66
- bevy_input = { path = " crates/bevy_input" , version = " 0.3.0" }
67
- bevy_math = { path = " crates/bevy_math" , version = " 0.3.0" }
68
- bevy_property = { path = " crates/bevy_property" , version = " 0.3.0" }
69
- bevy_scene = { path = " crates/bevy_scene" , version = " 0.3.0" }
70
- bevy_transform = { path = " crates/bevy_transform" , version = " 0.3.0" }
71
- bevy_utils = { path = " crates/bevy_utils" , version = " 0.3.0" }
72
- bevy_window = { path = " crates/bevy_window" , version = " 0.3.0" }
73
- bevy_tasks = { path = " crates/bevy_tasks" , version = " 0.3.0" }
74
- # bevy (optional)
75
- bevy_audio = { path = " crates/bevy_audio" , optional = true , version = " 0.3.0" }
76
- bevy_gltf = { path = " crates/bevy_gltf" , optional = true , version = " 0.3.0" }
77
- bevy_pbr = { path = " crates/bevy_pbr" , optional = true , version = " 0.3.0" }
78
- bevy_render = { path = " crates/bevy_render" , optional = true , version = " 0.3.0" }
79
- bevy_dynamic_plugin = { path = " crates/bevy_dynamic_plugin" , optional = true , version = " 0.3.0" }
80
- bevy_sprite = { path = " crates/bevy_sprite" , optional = true , version = " 0.3.0" }
81
- bevy_text = { path = " crates/bevy_text" , optional = true , version = " 0.3.0" }
82
- bevy_ui = { path = " crates/bevy_ui" , optional = true , version = " 0.3.0" }
83
- bevy_wgpu = { path = " crates/bevy_wgpu" , optional = true , version = " 0.3.0" }
84
- bevy_winit = { path = " crates/bevy_winit" , optional = true , version = " 0.3.0" }
85
- bevy_gilrs = { path = " crates/bevy_gilrs" , optional = true , version = " 0.3.0" }
70
+ bevy_dylib = {path = " crates/bevy_dylib" , version = " 0.3.0" , default-features = false , optional = true }
71
+ bevy_internal = {path = " crates/bevy_internal" , version = " 0.3.0" , default-features = false }
86
72
87
73
[dev-dependencies ]
88
- rand = " 0.7.3"
89
- serde = { version = " 1" , features = [" derive" ] }
74
+ anyhow = " 1.0"
90
75
log = " 0.4"
76
+ rand = " 0.7.3"
91
77
ron = " 0.6"
92
- anyhow = " 1.0 "
78
+ serde = { version = " 1 " , features = [ " derive " ]}
93
79
94
80
# bevy (Android)
95
81
[target .'cfg(target_os = "android")' .dependencies ]
96
- ndk-glue = { version = " 0.2" , features = [" logger" ] }
97
82
android_logger = " 0.9"
83
+ ndk-glue = {version = " 0.2" , features = [" logger" ]}
98
84
99
85
[target .'cfg(target_arch = "wasm32")' .dev-dependencies ]
100
86
console_error_panic_hook = " 0.1.6"
101
- console_log = { version = " 0.2" , features = [" color" ] }
87
+ console_log = {version = " 0.2" , features = [" color" ]}
102
88
103
89
[[example ]]
104
90
name = " hello_world"
@@ -333,11 +319,11 @@ path = "examples/wasm/assets_wasm.rs"
333
319
required-features = [" bevy_winit" ]
334
320
335
321
[[example ]]
322
+ crate-type = [" cdylib" ]
336
323
name = " android"
337
324
path = " examples/android/android.rs"
338
- crate-type = [" cdylib" ]
339
325
340
326
[package .metadata .android ]
341
327
build_targets = [" aarch64-linux-android" , " armv7-linux-androideabi" ]
342
- target_sdk_version = 29
343
328
min_sdk_version = 16
329
+ target_sdk_version = 29
0 commit comments