-
Notifications
You must be signed in to change notification settings - Fork 9
/
Cargo.toml
87 lines (76 loc) · 2.62 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
[package]
name = "bag_goblin"
version = "0.1.0"
edition = "2021"
resolver = "2"
publish = false
# Enable only a small amount of optimization in debug mode
[profile.dev]
opt-level = 1
# Enable high optimizations for dependencies (incl. Bevy), but not for our code:
[profile.dev.package."*"]
opt-level = 3
[dependencies]
bevy_egui = "0.15.1"
bevy-inspector-egui = "0.12.1"
bevy_ninepatch = "0.8.0"
bevy_kira_audio = { version = "0.12.0", features = ["ogg"] }
egui = "0.18.1"
iyes_loopless = "0.7.*"
serde = { version = "1.0", features = ["derive"] }
rand = "*"
ron = "*"
[dependencies.bevy]
version = "0.8.*"
# We must disable default features because we're using bevy_kira_audio:
default-features = false
# Now we have to add all default features we want back in:
features = [
#"dynamic",
# These are the default features:
# (re-enable whichever you like)
# Bevy functionality:
# "animation", # Animation support
# "bevy_gilrs", # Gamepad input support
# "bevy_audio", # Builtin audio
"bevy_winit", # Window management
"x11", # Linux: Support X11 windowing system
# "filesystem_watcher", # Asset hot-reloading
# "render", # Graphics Rendering
## "render" actually just includes:
## (feel free to use just a subset of these, instead of "render")
"bevy_render", # Rendering framework core
"bevy_core_pipeline", # Higher-level rendering abstractions
"bevy_sprite", # 2D (sprites) rendering
# "bevy_pbr", # 3D (physically-based) rendering
# "bevy_gltf", # GLTF 3D assets format support
"bevy_text", # Text/font rendering
"bevy_ui", # UI toolkit
# File formats:
"png",
# "hdr",
# "vorbis",
# These are other features that may be of interest:
# (add any of these that you need)
# Bevy functionality:
"wayland", # Linux: Support Wayland windowing system
"subpixel_glyph_atlas", # Subpixel antialiasing for text/fonts
"serialize", # Support for `serde` Serialize/Deserialize
# File formats:
# "ktx2", # preferred format for GPU textures
# "dds",
# "jpeg",
# "bmp",
# "tga",
# "basis-universal",
# "zstd", # needed if using zstd in KTX2 files
# "flac",
# "mp3",
# "wav",
# Development/Debug features:
# "dynamic", # Dynamic linking for faster compile-times
# "trace", # Enable tracing for performance measurement
# "trace_tracy", # Tracing using `tracy`
# "trace_chrome", # Tracing using the Chrome format
# "wgpu_trace", # WGPU/rendering tracing
]