-
Notifications
You must be signed in to change notification settings - Fork 0
/
Cargo.toml
93 lines (84 loc) · 2.68 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
[package]
name = "limitpush" # Todo
version = "0.1.0"
edition = "2021"
publish = false
exclude = ["dist", "build", "assets", "credits"]
[workspace]
members = [
"crates/audio",
"crates/camera_system",
"crates/debug",
"crates/player",
"crates/states",
"crates/ui",
"crates/window_manager",
"crates/world",
"native/mobile/Cargo.toml"
]
[profile.dev.package."*"]
opt-level = 3
[profile.dev]
opt-level = 1
[profile.release]
opt-level = "s"
lto = true
codegen-units = 1
strip = true
[profile.dist]
inherits = "release"
opt-level = 3
lto = true
codegen-units = 1
strip = true
[features]
[dependencies]
# Please don't forget the way by which the rust compiler works!
# If a dependency feature is set here, every internal crate of this
# project will have this feature if it has this dependency!
# For the best readability of this project, there will be a mention
# in all crates' Cargo.toml that need this feature to avoid the case
# when a user just copies/pastes the whole crate into his project and
# gets an unfixable error because of a missing feature (even if the
# rust compiler should keep you aware from missing feature, sometimes
# it can not happen..)
bevy = { version = "*", default-features = false, features = [
# Needed by `debug` & `player` | Wireframe & PbrBundle require pbr
"bevy_pbr",
# Needed by `states` | TextBundle & TextStyle require bevy_text to work
"bevy_text",
# Needed by `states` | TextBundle require bevy_ui to work
"bevy_ui",
# Camera3dBundle with Tonemapping require tonemapping_luts to entirely work
"tonemapping_luts",
# Enable built in global state machines
"bevy_state",
# Enables multithreaded parallelism in the engine. Removing it forces all engine tasks to run on a single thread.
"multi_threaded",
# "webgl2", Use in the wasm native package
# Provides rendering functionality
"bevy_render",
# Required for bevy_asset_loader when loading PNG assets
"png",
# Required for TextStyle which isn't using a local text font
"default_font",
# Fixes the player unlinear acceleration/max speed
"bevy_scene",
]}
avian3d = { version = "*", default-features = false, features = [
"3d",
"parry-f32",
"collider-from-mesh",
"debug-plugin",
"parallel",
]}
audio = { path = "crates/audio" }
camera_system = { path = "crates/camera_system" }
player = { path = "crates/player" }
states = { path = "crates/states" }
ui = { path = "crates/ui" }
window_manager = { path = "crates/window_manager" }
world = { path = "crates/world" }
[target.'cfg(debug_assertions)'.dependencies]
debug = { path = "crates/debug" }