This repository was archived by the owner on Aug 17, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 6
Expand file tree
/
Copy pathCargo.toml
More file actions
60 lines (52 loc) · 1.34 KB
/
Cargo.toml
File metadata and controls
60 lines (52 loc) · 1.34 KB
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
[package]
name = "one-clicker"
version = "0.1.3"
edition = "2021"
[lib]
crate-type = ["cdylib", "rlib"]
path = "src/game.rs"
[[bin]]
name = "one_clicker-windows"
path = "src/desktop_main.rs"
# Audio formats should be enabled only in bevy_kira_audio
[dependencies.bevy]
version = "0.9"
default-features = false
features = [
"render",
"bevy_winit",
"png",
"x11",
"wayland",
"filesystem_watcher",
]
# Apparently this is better than built-in Bevy audio system
[dependencies.bevy_kira_audio]
version = "0.13"
default-features = false
features = ["ogg", "wav"]
[dependencies]
rand = "0.8"
bevy_tweening = "0.6"
bevy_ninepatch = "0.9"
iyes_loopless = "0.9"
bevy_embedded_assets = "0.6"
bevy_asset_loader = { version = "0.14", features = ["stageless"] }
winapi = { version = "0.3", features = ["winbase","std"]}
# Native dependencies
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
bevy-inspector-egui = "0.17"
bevy_egui = "0.19"
# Wasm dependencies
[target.'cfg(target_arch = "wasm32")'.dependencies]
# Dump panics into browser console
console_error_panic_hook = "0.1"
# Used for resizing the canvas to fit the window
web-sys = { version = "0.3", features = ["Window"] }
gloo-events = "0.1"
wasm-bindgen = "0.2"
[profile.dev.package."*"]
# Compile all dependencies as release for extra fast
opt-level=3
[profile.release]
lto = "thin"