-
Notifications
You must be signed in to change notification settings - Fork 2
/
Cargo.toml
88 lines (76 loc) · 2.52 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
[package]
name = "diplopod"
version = "0.1.0"
edition = "2021"
license = "MIT"
readme = "README.md"
repository = "https://github.com/tehlers/diplopod"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
# 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
[profile.release]
lto = "thin"
opt-level = 'z'
[dependencies.bevy]
version = "0.14.2"
default-features = false
features = [
# Bevy functionality:
"bevy_asset", # Assets management
#"bevy_scene", # Scenes management
"bevy_gilrs", # Gamepad input support
"bevy_audio", # Builtin audio
"bevy_winit", # Window management
#"animation", # Animation support
"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", # Common 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
"bevy_state",
# 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
#"bevy_dynamic_plugin", # Support for loading of `DynamicPlugin`s
# 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
]
[dependencies]
anyhow = "1"
bevy_embedded_assets = "0.11"
bevy_prototype_lyon = "0.12"
directories = "5"
rand = "0.8.4"