-
Notifications
You must be signed in to change notification settings - Fork 31
/
Cargo.toml
118 lines (95 loc) · 2.31 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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
[package]
name = "bevy_replicon"
version = "0.28.4"
authors = [
"Hennadii Chernyshchyk <genaloner@gmail.com>",
"koe <ukoe@protonmail.com>",
]
edition = "2021"
description = "High level networking for the Bevy game engine"
readme = "README.md"
repository = "https://github.com/projectharmonia/bevy_replicon"
keywords = [
"bevy",
"multiplayer",
"netcode",
"replication",
"server-authoritative",
]
categories = ["game-development", "network-programming"]
license = "MIT OR Apache-2.0"
include = ["/benches", "/src", "/tests", "/LICENSE*"]
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
all-features = true
[dependencies]
bevy = { version = "0.14", default-features = false, features = ["serialize"] }
bytes = "1.5"
bincode = "1.3"
serde = "1.0"
integer-encoding = "4.0"
ordered-multimap = "0.7"
[dev-dependencies]
bevy = { version = "0.14", default-features = false, features = [
"serialize",
"bevy_asset",
"bevy_scene",
"bevy_sprite",
] }
criterion = { version = "0.5", default-features = false, features = [
"cargo_bench_support",
] }
[features]
default = ["scene", "parent_sync", "client", "server"]
# Client-related logic.
client = []
# Server-related logic.
server = []
# Integration with Bevy diagnostics for client.
client_diagnostics = ["client"]
# Replication into a scene.
scene = ["bevy/bevy_scene"]
# Hierarchy synchronization.
parent_sync = []
[[bench]]
name = "replication"
harness = false
[[test]]
name = "changes"
required-features = ["client", "server"]
[[test]]
name = "client_event"
required-features = ["client", "server"]
[[test]]
name = "connection"
required-features = ["client", "server"]
[[test]]
name = "despawn"
required-features = ["client", "server"]
[[test]]
name = "fns"
required-features = ["client"]
[[test]]
name = "insertion"
required-features = ["client", "server"]
[[test]]
name = "removal"
required-features = ["client", "server"]
[[test]]
name = "scene"
required-features = ["scene"]
[[test]]
name = "server_event"
required-features = ["client", "server"]
[[test]]
name = "spawn"
required-features = ["client", "server"]
[[test]]
name = "stats"
required-features = ["client_diagnostics", "client", "server"]
[[test]]
name = "visibility"
required-features = ["client", "server"]
[lints.clippy]
type_complexity = "allow"
too_many_arguments = "allow"