~starkingdoms/starkingdoms

ref: 1dfcf5efd599f41a169be5c252a3433dd7a67e63 starkingdoms/crates/unified/Cargo.toml -rw-r--r-- 1.6 KiB
1dfcf5ef — core netcode,thrust: replicate thrusters again 4 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
52
[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 }
bevy_replicon = { workspace = true, features = ["client"] }
bevy_replicon_renet2 = { workspace = true, features = ["client", "netcode"] }
url = { workspace = true }
serde_json = { workspace = true }

[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
ctrlc = { workspace = true }
tokio = { version = "1", features = ["rt-multi-thread"] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasm-bindgen = { workspace = true }
wasm-bindgen-futures = { workspace = true }
tracing-web = { workspace = true }
console_error_panic_hook = { workspace = true }
getrandom02 = { package = "getrandom", version = "0.2", features = ["js"] }
web-sys = { workspace = true, features = ["Window", "Response"] }

[features]
native_dev = [
    "bevy/file_watcher",
    "bevy/hotpatching",
    "bevy/dynamic_linking",
    "native"
]
native = [
    "bevy/x11",
    "bevy/wayland",
    "bevy_replicon/server",
    "bevy_replicon_renet2/server",
    "bevy_replicon_renet2/native_transport",
    "bevy_replicon_renet2/wt_server_transport"
]
wasm = ["getrandom/wasm_js", "bevy/webgl2", "bevy_replicon_renet2/wt_client_transport"]