2019-11-13 03:36:02 +00:00
|
|
|
[package]
|
|
|
|
name = "bevy"
|
2020-11-03 21:34:00 +00:00
|
|
|
version = "0.3.0"
|
2019-11-13 03:36:02 +00:00
|
|
|
edition = "2018"
|
2020-09-15 01:12:52 +00:00
|
|
|
authors = [
|
2020-11-10 03:26:08 +00:00
|
|
|
"Bevy Contributors <bevyengine@gmail.com>",
|
|
|
|
"Carter Anderson <mcanders1@gmail.com>",
|
2020-09-15 01:12:52 +00:00
|
|
|
]
|
2020-11-10 03:26:08 +00:00
|
|
|
categories = ["game-engines", "graphics", "gui", "rendering"]
|
2020-08-10 00:24:27 +00:00
|
|
|
description = "A refreshingly simple data-driven game engine and app framework"
|
2020-11-10 03:26:08 +00:00
|
|
|
exclude = ["assets/**/*", "tools/**/*", ".github/**/*", "crates/**/*"]
|
2020-08-10 00:24:27 +00:00
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
keywords = ["game", "engine", "gamedev", "graphics", "bevy"]
|
2020-11-10 03:26:08 +00:00
|
|
|
license = "MIT"
|
2020-11-10 18:58:51 +00:00
|
|
|
readme = "README.md"
|
2020-11-10 03:26:08 +00:00
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
|
|
|
|
|
|
[workspace]
|
|
|
|
exclude = ["benches"]
|
|
|
|
members = ["crates/*", "crates/bevy_ecs/hecs", "examples/ios"]
|
2019-11-13 03:36:02 +00:00
|
|
|
|
2020-03-11 05:20:49 +00:00
|
|
|
[features]
|
2020-09-02 00:02:11 +00:00
|
|
|
default = [
|
2020-11-10 03:26:08 +00:00
|
|
|
"bevy_audio",
|
|
|
|
"bevy_dynamic_plugin",
|
|
|
|
"bevy_gilrs",
|
|
|
|
"bevy_gltf",
|
|
|
|
"bevy_wgpu",
|
|
|
|
"bevy_winit",
|
|
|
|
"render",
|
|
|
|
"png",
|
|
|
|
"hdr",
|
|
|
|
"mp3",
|
|
|
|
"x11",
|
2020-09-02 00:02:11 +00:00
|
|
|
]
|
2020-11-03 00:30:30 +00:00
|
|
|
|
2020-11-10 03:26:08 +00:00
|
|
|
# Force dynamic linking, which improves iterative compile times
|
|
|
|
dynamic = ["bevy_dylib"]
|
2020-10-01 20:04:06 +00:00
|
|
|
|
2020-09-15 19:20:20 +00:00
|
|
|
# Rendering support
|
2020-11-10 03:26:08 +00:00
|
|
|
render = ["bevy_internal/bevy_pbr", "bevy_internal/bevy_render", "bevy_internal/bevy_sprite", "bevy_internal/bevy_text", "bevy_internal/bevy_ui"]
|
|
|
|
|
|
|
|
# Optional bevy crates
|
|
|
|
bevy_audio = ["bevy_internal/bevy_audio"]
|
|
|
|
bevy_dynamic_plugin = ["bevy_internal/bevy_dynamic_plugin"]
|
|
|
|
bevy_gilrs = ["bevy_internal/bevy_gilrs"]
|
|
|
|
bevy_gltf = ["bevy_internal/bevy_gltf"]
|
|
|
|
bevy_wgpu = ["bevy_internal/bevy_wgpu"]
|
|
|
|
bevy_winit = ["bevy_internal/bevy_winit"]
|
|
|
|
|
|
|
|
profiler = ["bevy_internal/profiler"]
|
2020-11-11 02:49:49 +00:00
|
|
|
trace = ["bevy_internal/trace"]
|
2020-11-10 03:26:08 +00:00
|
|
|
wgpu_trace = ["bevy_internal/wgpu_trace"]
|
|
|
|
|
2020-08-11 06:30:42 +00:00
|
|
|
# Image format support for texture loading (PNG and HDR are enabled by default)
|
2020-11-10 03:26:08 +00:00
|
|
|
hdr = ["bevy_internal/hdr"]
|
|
|
|
png = ["bevy_internal/png"]
|
2020-08-11 06:30:42 +00:00
|
|
|
|
|
|
|
# Audio format support (MP3 is enabled by default)
|
2020-11-10 03:26:08 +00:00
|
|
|
flac = ["bevy_internal/flac"]
|
|
|
|
mp3 = ["bevy_internal/mp3"]
|
|
|
|
vorbis = ["bevy_internal/vorbis"]
|
|
|
|
wav = ["bevy_internal/wav"]
|
2020-08-11 06:30:42 +00:00
|
|
|
|
2020-11-10 03:26:08 +00:00
|
|
|
serialize = ["bevy_internal/serialize"]
|
2020-08-22 01:13:50 +00:00
|
|
|
|
2020-08-25 00:06:08 +00:00
|
|
|
# Display server protocol support (X11 is enabled by default)
|
2020-11-10 03:26:08 +00:00
|
|
|
wayland = ["bevy_internal/wayland"]
|
|
|
|
x11 = ["bevy_internal/x11"]
|
2020-05-06 01:44:32 +00:00
|
|
|
|
2019-11-13 03:36:02 +00:00
|
|
|
[dependencies]
|
2020-11-10 03:26:08 +00:00
|
|
|
bevy_dylib = {path = "crates/bevy_dylib", version = "0.3.0", default-features = false, optional = true}
|
|
|
|
bevy_internal = {path = "crates/bevy_internal", version = "0.3.0", default-features = false}
|
2020-04-06 03:19:02 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-11-10 03:26:08 +00:00
|
|
|
anyhow = "1.0"
|
2020-09-16 01:05:31 +00:00
|
|
|
log = "0.4"
|
2020-11-10 03:26:08 +00:00
|
|
|
rand = "0.7.3"
|
2020-10-01 18:31:06 +00:00
|
|
|
ron = "0.6"
|
2020-11-10 03:26:08 +00:00
|
|
|
serde = {version = "1", features = ["derive"]}
|
2020-11-11 02:49:49 +00:00
|
|
|
tracing = "0.1.21"
|
|
|
|
tracing-chrome = "0.2.0"
|
|
|
|
tracing-subscriber = "0.2.15"
|
2020-09-16 01:05:31 +00:00
|
|
|
|
2020-11-03 00:30:30 +00:00
|
|
|
# bevy (Android)
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
android_logger = "0.9"
|
2020-11-10 03:26:08 +00:00
|
|
|
ndk-glue = {version = "0.2", features = ["logger"]}
|
2020-11-03 00:30:30 +00:00
|
|
|
|
2020-10-02 19:24:30 +00:00
|
|
|
[target.'cfg(target_arch = "wasm32")'.dev-dependencies]
|
2020-09-16 01:05:31 +00:00
|
|
|
console_error_panic_hook = "0.1.6"
|
2020-11-10 03:26:08 +00:00
|
|
|
console_log = {version = "0.2", features = ["color"]}
|
2019-12-24 00:13:05 +00:00
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "hello_world"
|
|
|
|
path = "examples/hello_world.rs"
|
|
|
|
|
2020-05-04 08:22:25 +00:00
|
|
|
[[example]]
|
|
|
|
name = "sprite"
|
|
|
|
path = "examples/2d/sprite.rs"
|
|
|
|
|
2020-06-02 02:23:11 +00:00
|
|
|
[[example]]
|
|
|
|
name = "sprite_sheet"
|
|
|
|
path = "examples/2d/sprite_sheet.rs"
|
|
|
|
|
2020-06-06 07:12:38 +00:00
|
|
|
[[example]]
|
|
|
|
name = "texture_atlas"
|
|
|
|
path = "examples/2d/texture_atlas.rs"
|
|
|
|
|
2020-11-06 22:35:18 +00:00
|
|
|
[[example]]
|
|
|
|
name = "contributors"
|
|
|
|
path = "examples/2d/contributors.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
2020-10-18 20:48:15 +00:00
|
|
|
name = "load_gltf"
|
|
|
|
path = "examples/3d/load_gltf.rs"
|
2020-05-01 20:12:47 +00:00
|
|
|
|
2020-07-30 01:15:15 +00:00
|
|
|
[[example]]
|
|
|
|
name = "msaa"
|
|
|
|
path = "examples/3d/msaa.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "parenting"
|
|
|
|
path = "examples/3d/parenting.rs"
|
|
|
|
|
|
|
|
[[example]]
|
2020-05-22 00:21:33 +00:00
|
|
|
name = "3d_scene"
|
|
|
|
path = "examples/3d/3d_scene.rs"
|
2020-05-01 20:12:47 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "spawner"
|
|
|
|
path = "examples/3d/spawner.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "texture"
|
|
|
|
path = "examples/3d/texture.rs"
|
|
|
|
|
2020-06-23 00:55:48 +00:00
|
|
|
[[example]]
|
|
|
|
name = "z_sort_debug"
|
|
|
|
path = "examples/3d/z_sort_debug.rs"
|
|
|
|
|
2020-11-09 21:04:27 +00:00
|
|
|
[[example]]
|
|
|
|
name = "custom_loop"
|
|
|
|
path = "examples/app/custom_loop.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "empty_defaults"
|
|
|
|
path = "examples/app/empty_defaults.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "empty"
|
|
|
|
path = "examples/app/empty.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "headless"
|
|
|
|
path = "examples/app/headless.rs"
|
|
|
|
|
2020-05-03 08:30:10 +00:00
|
|
|
[[example]]
|
|
|
|
name = "plugin"
|
|
|
|
path = "examples/app/plugin.rs"
|
|
|
|
|
2020-10-29 20:04:28 +00:00
|
|
|
[[example]]
|
|
|
|
name = "plugin_group"
|
|
|
|
path = "examples/app/plugin_group.rs"
|
|
|
|
|
2020-08-21 05:37:19 +00:00
|
|
|
[[example]]
|
|
|
|
name = "return_after_run"
|
|
|
|
path = "examples/app/return_after_run.rs"
|
|
|
|
|
2020-08-14 17:15:29 +00:00
|
|
|
[[example]]
|
|
|
|
name = "thread_pool_resources"
|
|
|
|
path = "examples/app/thread_pool_resources.rs"
|
|
|
|
|
2020-11-11 02:49:49 +00:00
|
|
|
[[example]]
|
|
|
|
name = "tracing"
|
|
|
|
path = "examples/app/tracing.rs"
|
|
|
|
|
2020-05-17 03:18:30 +00:00
|
|
|
[[example]]
|
2020-05-17 17:29:42 +00:00
|
|
|
name = "hot_asset_reloading"
|
|
|
|
path = "examples/asset/hot_asset_reloading.rs"
|
2020-05-17 03:18:30 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "asset_loading"
|
|
|
|
path = "examples/asset/asset_loading.rs"
|
|
|
|
|
2020-10-01 18:31:06 +00:00
|
|
|
[[example]]
|
2020-10-18 20:48:15 +00:00
|
|
|
name = "custom_asset"
|
|
|
|
path = "examples/asset/custom_asset.rs"
|
2020-10-01 18:31:06 +00:00
|
|
|
|
2020-07-16 20:46:51 +00:00
|
|
|
[[example]]
|
|
|
|
name = "audio"
|
|
|
|
path = "examples/audio/audio.rs"
|
|
|
|
|
2020-05-04 21:14:49 +00:00
|
|
|
[[example]]
|
|
|
|
name = "custom_diagnostic"
|
|
|
|
path = "examples/diagnostics/custom_diagnostic.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "print_diagnostics"
|
|
|
|
path = "examples/diagnostics/print_diagnostics.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "event"
|
|
|
|
path = "examples/ecs/event.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "startup_system"
|
|
|
|
path = "examples/ecs/startup_system.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "ecs_guide"
|
|
|
|
path = "examples/ecs/ecs_guide.rs"
|
|
|
|
|
2020-09-08 19:18:32 +00:00
|
|
|
[[example]]
|
|
|
|
name = "parallel_query"
|
|
|
|
path = "examples/ecs/parallel_query.rs"
|
|
|
|
|
2020-10-01 19:43:26 +00:00
|
|
|
[[example]]
|
|
|
|
name = "hierarchy"
|
|
|
|
path = "examples/ecs/hierarchy.rs"
|
|
|
|
|
2020-06-27 04:40:09 +00:00
|
|
|
[[example]]
|
|
|
|
name = "breakout"
|
2020-06-28 18:11:18 +00:00
|
|
|
path = "examples/game/breakout.rs"
|
2020-06-27 04:40:09 +00:00
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
2020-06-05 06:49:36 +00:00
|
|
|
name = "mouse_input"
|
|
|
|
path = "examples/input/mouse_input.rs"
|
2020-05-01 20:12:47 +00:00
|
|
|
|
|
|
|
[[example]]
|
2020-06-05 06:49:36 +00:00
|
|
|
name = "mouse_input_events"
|
|
|
|
path = "examples/input/mouse_input_events.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "keyboard_input"
|
|
|
|
path = "examples/input/keyboard_input.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "keyboard_input_events"
|
|
|
|
path = "examples/input/keyboard_input_events.rs"
|
2020-05-01 20:12:47 +00:00
|
|
|
|
2020-11-07 01:15:56 +00:00
|
|
|
[[example]]
|
|
|
|
name = "char_input_events"
|
|
|
|
path = "examples/input/char_input_events.rs"
|
|
|
|
|
2020-09-18 21:43:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "gamepad_input"
|
|
|
|
path = "examples/input/gamepad_input.rs"
|
|
|
|
|
2020-10-21 17:27:00 +00:00
|
|
|
[[example]]
|
2020-10-21 22:56:07 +00:00
|
|
|
name = "gamepad_input_events"
|
|
|
|
path = "examples/input/gamepad_input_events.rs"
|
2020-10-21 17:27:00 +00:00
|
|
|
|
2020-10-18 19:24:01 +00:00
|
|
|
[[example]]
|
|
|
|
name = "touch_input"
|
|
|
|
path = "examples/input/touch_input.rs"
|
|
|
|
|
|
|
|
[[example]]
|
2020-10-18 20:20:42 +00:00
|
|
|
name = "touch_input_events"
|
|
|
|
path = "examples/input/touch_input_events.rs"
|
2020-10-18 19:24:01 +00:00
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
2020-08-03 02:15:41 +00:00
|
|
|
name = "scene"
|
|
|
|
path = "examples/scene/scene.rs"
|
2020-05-01 20:12:47 +00:00
|
|
|
|
2020-05-22 06:58:11 +00:00
|
|
|
[[example]]
|
2020-05-22 22:36:48 +00:00
|
|
|
name = "properties"
|
|
|
|
path = "examples/scene/properties.rs"
|
2020-05-22 06:58:11 +00:00
|
|
|
|
2020-11-02 21:47:05 +00:00
|
|
|
[[example]]
|
|
|
|
name = "mesh_custom_attribute"
|
|
|
|
path = "examples/shader/mesh_custom_attribute.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "shader_custom_material"
|
|
|
|
path = "examples/shader/shader_custom_material.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "shader_defs"
|
|
|
|
path = "examples/shader/shader_defs.rs"
|
|
|
|
|
2020-07-18 21:08:46 +00:00
|
|
|
[[example]]
|
|
|
|
name = "button"
|
|
|
|
path = "examples/ui/button.rs"
|
|
|
|
|
2020-05-13 20:09:32 +00:00
|
|
|
[[example]]
|
|
|
|
name = "text"
|
|
|
|
path = "examples/ui/text.rs"
|
|
|
|
|
2020-06-14 01:53:31 +00:00
|
|
|
[[example]]
|
|
|
|
name = "font_atlas_debug"
|
|
|
|
path = "examples/ui/font_atlas_debug.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "ui"
|
|
|
|
path = "examples/ui/ui.rs"
|
|
|
|
|
2020-06-25 22:24:27 +00:00
|
|
|
[[example]]
|
|
|
|
name = "clear_color"
|
|
|
|
path = "examples/window/clear_color.rs"
|
|
|
|
|
2020-05-01 20:12:47 +00:00
|
|
|
[[example]]
|
|
|
|
name = "multiple_windows"
|
2020-07-20 09:05:56 +00:00
|
|
|
path = "examples/window/multiple_windows.rs"
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "window_settings"
|
2020-08-21 05:37:19 +00:00
|
|
|
path = "examples/window/window_settings.rs"
|
2020-09-16 01:05:31 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "hello_wasm"
|
|
|
|
path = "examples/wasm/hello_wasm.rs"
|
|
|
|
required-features = []
|
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "headless_wasm"
|
|
|
|
path = "examples/wasm/headless_wasm.rs"
|
|
|
|
required-features = []
|
2020-09-16 20:40:32 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "winit_wasm"
|
|
|
|
path = "examples/wasm/winit_wasm.rs"
|
2020-09-19 03:11:26 +00:00
|
|
|
required-features = ["bevy_winit"]
|
2020-09-25 22:26:23 +00:00
|
|
|
|
|
|
|
[[example]]
|
|
|
|
name = "assets_wasm"
|
|
|
|
path = "examples/wasm/assets_wasm.rs"
|
|
|
|
required-features = ["bevy_winit"]
|
2020-10-16 21:07:01 +00:00
|
|
|
|
2020-11-03 00:30:30 +00:00
|
|
|
[[example]]
|
2020-11-10 03:26:08 +00:00
|
|
|
crate-type = ["cdylib"]
|
2020-11-03 20:00:47 +00:00
|
|
|
name = "android"
|
|
|
|
path = "examples/android/android.rs"
|
2020-11-03 00:30:30 +00:00
|
|
|
|
|
|
|
[package.metadata.android]
|
2020-11-03 19:32:48 +00:00
|
|
|
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
|
|
|
min_sdk_version = 16
|
2020-11-10 03:26:08 +00:00
|
|
|
target_sdk_version = 29
|