~starkingdoms/starkingdoms

ref: 35aab9e8d5a2470e2731fee67318bb9774bc45bb starkingdoms/crates/unified/Cargo.toml -rw-r--r-- 1.5 KiB
35aab9e8 — core feat(netcode-rewrite): atttempt prediction 27 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
43
44
45
46
47
48
49
50
51
[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 }
pico-args = { workspace = true }
leafwing-input-manager = { workspace = true }
good_lp = { workspace = true }
web-time = { workspace = true }
aeronet = { workspace = true }
aeronet_transport = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ctrlc = { workspace = true, optional = true }
aeronet_websocket = { workspace = true, features = ["client", "server"] }
aeronet_replicon = { workspace = true, features = ["client", "server"] }
bevy_replicon = { workspace = true, features = ["client", "server"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { workspace = true }
tracing-web = { workspace = true }
console_error_panic_hook = { workspace = true }
aeronet_websocket = { workspace = true, features = ["client"] }
aeronet_replicon = { workspace = true, features = ["client"] }
bevy_replicon = { workspace = true, features = ["client"] }

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