generated from NiklasEi/bevy_game_template
-
-
Notifications
You must be signed in to change notification settings - Fork 45
/
Cargo.toml
95 lines (82 loc) · 3.46 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
89
90
91
92
93
94
[package]
authors = ["Jan Hohenheim <jan@hohenheim.ch>"]
edition = "2021"
name = "foxtrot"
version = "0.5.0"
license = "MIT OR Apache-2.0 OR CC0-1.0"
exclude = ["assets/"]
description = "The all-in-one Bevy 3D game template for desktop."
repository = "https://github.com/janhohenheim/foxtrot"
keywords = ["gamedev", "bevy", "template", "game"]
categories = ["game-development"]
homepage = "https://janhohenheim.github.io/foxtrot/"
[features]
default = ["dev"]
dev = [
"dep:bevy_editor_pls",
"bevy/file_watcher",
"bevy/dynamic_linking",
"oxidized_navigation/debug_draw",
]
tracing = ["bevy/trace_chrome"]
[dependencies.bevy]
version = "0.13"
features = [
"jpeg",
]
[dependencies]
# keep the following in sync with Bevy's dependencies
## https://github.com/bevyengine/bevy/blob/v0.13.1/crates/bevy_winit/Cargo.toml#L32
winit = { version = "0.29", default-features = false }
## https://github.com/bevyengine/bevy/blob/v0.13.1/crates/bevy_render/Cargo.toml#L61
image = { version = "0.24", default-features = false }
## This greatly improves WGPU's performance due to its heavy use of trace! calls
log = { version = "0.4", features = ["max_level_debug", "release_max_level_warn"] }
# generic dependencies
serde = { version = "1", features = ["derive"] }
anyhow = "1"
# Bevy plugins
bevy_kira_audio = "0.19"
bevy_asset_loader = { version = "0.20", features = ["progress_tracking", "standard_dynamic_assets"] }
bevy_common_assets = { version = "0.10", features = ["ron", "toml"] }
bevy_egui = "0.25" # version governed by bevy_editor_pls and leafwing-input-manager
oxidized_navigation = { version = "0.10", features = ["xpbd"] }
iyes_progress = "0.11"
leafwing-input-manager = { version = "0.13", features = ["egui"] }
bevy_dolly = "0.0.3"
bevy_editor_pls = { version = "0.8.1", optional = true }
bevy_hanabi = { version = "0.11", default-features = false, features = ["3d"] }
bevy_yarnspinner = "0.2"
bevy_yarnspinner_example_dialogue_view = "0.2.1"
bevy-tnua-xpbd3d = "0.4"
bevy_xpbd_3d = { version = "0.4", features = ["simd"] }
bevy-tnua = "0.18"
bevy_atmosphere = "0.9"
warbler_grass = "0.6"
bevy_gltf_blueprints = "0.10"
bevy_registry_export = "0.3"
[build-dependencies]
embed-resource = "2"
# Enable 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
# High optimizations for distributing the game
[profile.release]
opt-level = 3
lto = true
codegen-units = 1
strip = true
[patch.crates-io]
# Patches that replace syn 1 with syn 2
# Note that windows still uses syn 1 through
# * com-macros and com_macros_support (unlikely to receive updates)
# * windows-implement and windows-interface (updated to syn 2 in Bevy 0.14.0-rc.2)
egui_dock = { git = "https://github.com/bash/egui_dock.git", branch = "backport-syn-update" } # This change is not PR-worthy. Instead, I made a PR to the actually affected dependency `duplicate`: https://github.com/Emoun/duplicate/pull/62
# These patches mainly remove strum and are included in bevy_yarnspinner 0.3.0-rc
bevy_yarnspinner = { git = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust.git", rev = "c6ab0c9e8c3a5a98f741aaae6adef1cfc272db30" }
bevy_yarnspinner_example_dialogue_view = { git = "https://github.com/YarnSpinnerTool/YarnSpinner-Rust.git", rev = "c6ab0c9e8c3a5a98f741aaae6adef1cfc272db30" }
# Bug fixes
bevy_hanabi = { git = "https://github.com/djeedai/bevy_hanabi/", rev = "b9a98bdf51be07f8127d2f16b68f1eb86259242f" }