This repository has been archived by the owner on Apr 16, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 34
/
Cargo.toml
56 lines (51 loc) · 1.49 KB
/
Cargo.toml
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
[package]
name = "bevy_networking_turbulence"
version = "0.4.1"
edition = "2021"
authors = ["Tomasz Sterna <tomasz@sterna.link>"]
description = "Networking plugin for Bevy engine running on naia-socket and turbulence libraries"
readme = "README.md"
license = "MIT"
homepage = "https://github.com/smokku/bevy_networking_turbulence"
repository = "https://github.com/smokku/bevy_networking_turbulence"
keywords = ["bevy", "gamedev", "networking", "udp", "webrtc"]
categories = [
"game-development",
"network-programming",
"wasm",
"web-programming",
]
exclude = [".git*"]
[features]
default = ["use-udp"]
use-udp = ["naia-server-socket/use-udp"]
use-webrtc = [
"naia-server-socket/use-webrtc",
"naia-client-socket/wbindgen",
"futures-timer/wasm-bindgen",
]
[dependencies]
bevy = { version = "0.6", default-features = false }
turbulence = "0.3"
naia-client-socket = { version = "0.6", features = ["multithread"] }
bytes = "1.1"
futures-lite = "1.12"
crossbeam-channel = "0.5"
cfg-if = "1.0"
instant = "0.1"
futures = "0.3"
futures-timer = "3.0"
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
naia-server-socket = "0.5"
[dev-dependencies]
clap = "2.34.0"
bevy = { version = "0.6", default-features = false }
serde = { version = "1.0", features = ["derive"] }
rand = { version = "0.8" }
console_error_panic_hook = "0.1"
console_log = "0.2"
wasm-bindgen = "=0.2.78" # pin to Bevy's dependency
[[example]]
name = "channels"
path = "examples/channels.rs"
required-features = ["bevy/default"]