@@ -11,8 +11,9 @@ version = "0.6.1"
11
11
members = [" ." , " core" ]
12
12
13
13
[features ]
14
- default = [" render" ]
15
- render = [" bevy/x11" , " bevy/png" , " bevy/filesystem_watcher" , " bevy/bevy_gilrs" ]
14
+ default = []
15
+ # Enable to simulate horrible network latency/slowness
16
+ debug-network-slowdown = [" async-timer" , " turborand" ]
16
17
17
18
[dependencies ]
18
19
anyhow = " 1.0.58"
@@ -55,6 +56,13 @@ unic-langid = "0.9.0"
55
56
puffin_egui = " 0.19.0"
56
57
puffin = " 0.14.3"
57
58
peg = " 0.8.0"
59
+ downcast-rs = " 1.2.0"
60
+ async-timer = { version = " 0.2.10" , optional = true }
61
+
62
+ [dependencies .turborand ]
63
+ features = [" atomic" ]
64
+ version = " 0.9"
65
+ optional = true
58
66
59
67
[dependencies .bevy ]
60
68
default-features = false
@@ -68,6 +76,19 @@ web-sys = { version = "0.3", features = ["Window", "Location", "Storage"] }
68
76
[target .'cfg(not(target_arch = "wasm32"))' .dependencies ]
69
77
bevy_dylib = " 0.9.1"
70
78
mimalloc = { version = " 0.1.32" , default-features = false }
79
+ # Networking deps
80
+ ggrs = { version = " 0.9.3" , features = [" sync-send" ] }
81
+ bitfield = " 0.14.0"
82
+ numquant = " 0.2.0"
83
+ mdns-sd = { version = " 0.7.1" , default-features = false }
84
+ quinn = { version = " 0.9.3" , default-features = false }
85
+ quinn_runtime_bevy = " 0.1.0"
86
+ smallvec = " 1.10.0"
87
+ rcgen = " 0.10.0"
88
+ rustls = { version = " 0.20.7" , features = [" dangerous_configuration" , " quic" ] }
89
+ postcard = { version = " 1.0.4" , features = [" alloc" ] }
90
+ bytes = " 1.4.0"
91
+ ping-rs = " 0.1.2"
71
92
72
93
# Optimize dependencies even in development
73
94
[profile .dev .package ."*" ]
@@ -94,7 +115,7 @@ codegen-units = 1 # Improved rapier physics perf, so it might help other stuf
94
115
lto = true
95
116
96
117
[patch .crates-io ]
97
- bevy_simple_tilemap = { git = " https://github.com/forbjok/bevy_simple_tilemap.git" }
118
+ bevy_simple_tilemap = { git = " https://github.com/forbjok/bevy_simple_tilemap.git" , rev = " 963d447fa1fd2d6f89228106275b7086840be762 " }
98
119
99
120
bones_lib = { git = " https://github.com/fishfolk/bones" }
100
121
bones_bevy_asset = { git = " https://github.com/fishfolk/bones" }
0 commit comments