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 = [
|
|
|
|
"Bevy Contributors <bevyengine@gmail.com>",
|
|
|
|
"Carter Anderson <mcanders1@gmail.com>",
|
|
|
|
]
|
2020-08-10 00:24:27 +00:00
|
|
|
description = "A refreshingly simple data-driven game engine and app framework"
|
|
|
|
homepage = "https://bevyengine.org"
|
|
|
|
repository = "https://github.com/bevyengine/bevy"
|
|
|
|
license = "MIT"
|
|
|
|
keywords = ["game", "engine", "gamedev", "graphics", "bevy"]
|
|
|
|
categories = ["game-engines", "graphics", "gui", "rendering"]
|
|
|
|
readme = "README.md"
|
2020-08-10 09:22:36 +00:00
|
|
|
exclude = ["assets/**/*", "tools/**/*", ".github/**/*", "crates/**/*"]
|
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-09-15 01:12:52 +00:00
|
|
|
"bevy_audio",
|
2020-10-01 20:04:06 +00:00
|
|
|
"bevy_dynamic_plugin",
|
2020-09-18 21:43:47 +00:00
|
|
|
"bevy_gilrs",
|
2020-09-15 01:12:52 +00:00
|
|
|
"bevy_gltf",
|
|
|
|
"bevy_wgpu",
|
|
|
|
"bevy_winit",
|
2020-09-15 19:20:20 +00:00
|
|
|
"render",
|
2020-09-15 01:12:52 +00:00
|
|
|
"png",
|
|
|
|
"hdr",
|
|
|
|
"mp3",
|
|
|
|
"x11",
|
2020-09-02 00:02:11 +00:00
|
|
|
]
|
2020-11-03 00:30:30 +00:00
|
|
|
|
2020-07-10 04:18:35 +00:00
|
|
|
profiler = ["bevy_ecs/profiler", "bevy_diagnostic/profiler"]
|
2020-08-16 08:11:17 +00:00
|
|
|
wgpu_trace = ["bevy_wgpu/trace"]
|
2020-10-01 20:04:06 +00:00
|
|
|
|
2020-09-15 19:20:20 +00:00
|
|
|
# Rendering support
|
|
|
|
render = ["bevy_pbr", "bevy_render", "bevy_sprite", "bevy_text", "bevy_ui"]
|
2020-08-11 06:30:42 +00:00
|
|
|
# Image format support for texture loading (PNG and HDR are enabled by default)
|
|
|
|
png = ["bevy_render/png"]
|
|
|
|
hdr = ["bevy_render/hdr"]
|
|
|
|
|
|
|
|
# Audio format support (MP3 is enabled by default)
|
|
|
|
mp3 = ["bevy_audio/mp3"]
|
|
|
|
flac = ["bevy_audio/flac"]
|
|
|
|
wav = ["bevy_audio/wav"]
|
|
|
|
vorbis = ["bevy_audio/vorbis"]
|
|
|
|
|
2020-08-22 01:13:50 +00:00
|
|
|
serialize = ["bevy_input/serialize"]
|
|
|
|
|
2020-08-25 00:06:08 +00:00
|
|
|
# Display server protocol support (X11 is enabled by default)
|
|
|
|
wayland = ["bevy_winit/wayland"]
|
|
|
|
x11 = ["bevy_winit/x11"]
|
|
|
|
|
2020-05-06 01:44:32 +00:00
|
|
|
[workspace]
|
2020-10-31 21:36:24 +00:00
|
|
|
members = ["crates/*", "crates/bevy_ecs/hecs", "examples/ios"]
|
2020-09-08 20:30:44 +00:00
|
|
|
exclude = ["benches"]
|
2020-05-06 01:44:32 +00:00
|
|
|
|
2019-11-13 03:36:02 +00:00
|
|
|
[dependencies]
|
2020-03-29 07:53:47 +00:00
|
|
|
# bevy
|
2020-11-03 21:34:00 +00:00
|
|
|
bevy_app = { path = "crates/bevy_app", version = "0.3.0" }
|
|
|
|
bevy_asset = { path = "crates/bevy_asset", version = "0.3.0" }
|
|
|
|
bevy_type_registry = { path = "crates/bevy_type_registry", version = "0.3.0" }
|
|
|
|
bevy_core = { path = "crates/bevy_core", version = "0.3.0" }
|
|
|
|
bevy_diagnostic = { path = "crates/bevy_diagnostic", version = "0.3.0" }
|
|
|
|
bevy_ecs = { path = "crates/bevy_ecs", version = "0.3.0" }
|
|
|
|
bevy_input = { path = "crates/bevy_input", version = "0.3.0" }
|
|
|
|
bevy_math = { path = "crates/bevy_math", version = "0.3.0" }
|
|
|
|
bevy_property = { path = "crates/bevy_property", version = "0.3.0" }
|
|
|
|
bevy_scene = { path = "crates/bevy_scene", version = "0.3.0" }
|
|
|
|
bevy_transform = { path = "crates/bevy_transform", version = "0.3.0" }
|
|
|
|
bevy_utils = { path = "crates/bevy_utils", version = "0.3.0" }
|
|
|
|
bevy_window = { path = "crates/bevy_window", version = "0.3.0" }
|
|
|
|
bevy_tasks = { path = "crates/bevy_tasks", version = "0.3.0" }
|
2020-08-10 00:39:28 +00:00
|
|
|
# bevy (optional)
|
2020-11-03 21:34:00 +00:00
|
|
|
bevy_audio = { path = "crates/bevy_audio", optional = true, version = "0.3.0" }
|
|
|
|
bevy_gltf = { path = "crates/bevy_gltf", optional = true, version = "0.3.0" }
|
|
|
|
bevy_pbr = { path = "crates/bevy_pbr", optional = true, version = "0.3.0" }
|
|
|
|
bevy_render = { path = "crates/bevy_render", optional = true, version = "0.3.0" }
|
|
|
|
bevy_dynamic_plugin = { path = "crates/bevy_dynamic_plugin", optional = true, version = "0.3.0" }
|
|
|
|
bevy_sprite = { path = "crates/bevy_sprite", optional = true, version = "0.3.0" }
|
|
|
|
bevy_text = { path = "crates/bevy_text", optional = true, version = "0.3.0" }
|
|
|
|
bevy_ui = { path = "crates/bevy_ui", optional = true, version = "0.3.0" }
|
|
|
|
bevy_wgpu = { path = "crates/bevy_wgpu", optional = true, version = "0.3.0" }
|
|
|
|
bevy_winit = { path = "crates/bevy_winit", optional = true, version = "0.3.0" }
|
|
|
|
bevy_gilrs = { path = "crates/bevy_gilrs", optional = true, version = "0.3.0" }
|
2020-04-06 03:19:02 +00:00
|
|
|
|
|
|
|
[dev-dependencies]
|
2020-09-15 01:12:52 +00:00
|
|
|
rand = "0.7.3"
|
|
|
|
serde = { version = "1", features = ["derive"] }
|
2020-09-16 01:05:31 +00:00
|
|
|
log = "0.4"
|
2020-10-01 18:31:06 +00:00
|
|
|
ron = "0.6"
|
2020-10-02 19:24:30 +00:00
|
|
|
anyhow = "1.0"
|
2020-09-16 01:05:31 +00:00
|
|
|
|
2020-11-03 00:30:30 +00:00
|
|
|
# bevy (Android)
|
|
|
|
[target.'cfg(target_os = "android")'.dependencies]
|
|
|
|
ndk-glue = { version = "0.2", features = ["logger"] }
|
|
|
|
android_logger = "0.9"
|
|
|
|
|
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"
|
|
|
|
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-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-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-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-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-03 20:00:47 +00:00
|
|
|
name = "android"
|
|
|
|
path = "examples/android/android.rs"
|
2020-11-03 00:30:30 +00:00
|
|
|
crate-type = ["cdylib"]
|
|
|
|
|
|
|
|
[package.metadata.android]
|
2020-11-03 19:32:48 +00:00
|
|
|
build_targets = ["aarch64-linux-android", "armv7-linux-androideabi"]
|
|
|
|
target_sdk_version = 29
|
|
|
|
min_sdk_version = 16
|