-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathCargo.toml
57 lines (46 loc) · 1.51 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
[package]
name = "cyber-bevy"
version = "0.1.0"
edition = "2021"
[dependencies]
#the whole point
bevy = { version = "0.15", default-features = false, features = ["bevy_gltf", "bevy_core_pipeline", "animation", "tonemapping_luts", "bevy_sprite", "bevy_window", "jpeg", "png", "multi_threaded", "bevy_state"]}
bevy_obj = {path="../bevy_obj", features = ["log"]}
bevy_egui = {version="0.31"}
#useful for debugging
#bevy-inspector-egui="0.28"
#used for menu
#bevy_egui = "0.31.1"
#used for easy orbit camera
bevy_asset = {version="*", features = ["trace"]}
bevy_panorbit_camera = {git="https://github.com/Usioumeo/bevy_panorbit_camera", features = ["bevy_egui"]}
[profile.dev]
opt-level = 1
# Enable a large amount of optimization in the dev profile for dependencies.
[profile.dev.package."*"]
opt-level = 3
# Enable more optimization in the release profile at the cost of compile time.
[profile.release]
codegen-units = 1
lto = "thin"
opt-level = "z"
strip = "debuginfo"
#particular optimization for wasm
[profile.wasm-release]
inherits = "release"
opt-level = "s"
strip = "debuginfo"
#this library features
[features]
#default (enable all features by default)
default = ["x11", "wayland", "dynamic_linking"]
#support for x11
x11 = ["bevy/x11"]
#support for wayland
wayland = ["bevy/wayland"]
dynamic_linking = ["bevy/dynamic_linking"]
#patches for zune jpeg
[patch.crates-io]
zune-jpeg = { git = "https://github.com/etemesi254/zune-image", branch = "zune-jpeg-4.12"}
[patch."https://github.com/etemesi254/zune-image"]
zune-core = "0.4.12"