~starkingdoms/starkingdoms

ref: fe41c97bea51ac5122cf948b660f7c64c5bc90f6 starkingdoms/crates/unified/Cargo.toml -rw-r--r-- 1.0 KiB
fe41c97b — core chore(netcode-rewrite): reorganize dependencies 28 days ago
                                                                                
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
[package]
name = "starkingdoms"
description = "A game about floating through space"
edition = "2024"
version = "0.1.0"


[dependencies]
bevy = { workspace = true }
avian2d = { workspace = true }
bevy_common_assets = { workspace = true }
tracing-subscriber = { workspace = true }
serde = { workspace = true }
rand = { workspace = true }
getrandom = { workspace = true }
wgpu = { workspace = true }
pico-args = { workspace = true }
leafwing-input-manager = { workspace = true }
good_lp = { workspace = true }
web-time = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ctrlc = { workspace = true, optional = true }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { workspace = true }
tracing-web = { workspace = true }
console_error_panic_hook = { workspace = true }

[features]
native_dev = [
    "bevy/file_watcher",
    "bevy/hotpatching",
    "bevy/dynamic_linking",
    "native"
]
native = [
    "bevy/x11",
    "bevy/wayland",
    "dep:ctrlc"
]
wasm = ["getrandom/wasm_js", "bevy/webgl2"]