-
Notifications
You must be signed in to change notification settings - Fork 6
/
Cargo.toml
64 lines (56 loc) · 1.58 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
[package]
name = "bevy_replicon_renet"
version = "0.6.0"
authors = [
"Hennadii Chernyshchyk <genaloner@gmail.com>",
"koe <ukoe@protonmail.com>",
]
edition = "2021"
description = "Integration with renet for bevy_replicon"
readme = "README.md"
repository = "https://github.com/projectharmonia/bevy_replicon_renet"
keywords = [
"bevy",
"multiplayer",
"netcode",
"replication",
"server-authoritative",
]
categories = ["game-development", "network-programming"]
license = "MIT OR Apache-2.0"
include = ["/src", "/tests", "/examples", "LICENSE*"]
[package.metadata.docs.rs]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
all-features = true
[dependencies]
bevy_replicon = { version = "0.29", default-features = false }
bevy_renet = { version = "1.0", default-features = false }
bevy = { version = "0.15", default-features = false }
[dev-dependencies]
serde = "1.0"
clap = { version = "4.1", features = ["derive"] }
bevy = { version = "0.15", default-features = false, features = [
"bevy_text",
"bevy_ui",
"bevy_gizmos",
"bevy_state",
"bevy_window",
"x11",
"default_font",
] }
[features]
default = ["client", "server", "renet_netcode"]
server = ["bevy_replicon/server"]
client = ["bevy_replicon/client"]
# Re-exports of renet features
renet_netcode = ["bevy_renet/netcode"]
renet_steam = ["bevy_renet/steam"]
[[test]]
name = "netcode"
required-features = ["server", "client", "renet_netcode"]
[[example]]
name = "simple_box"
required-features = ["server", "client", "renet_netcode"]
[[example]]
name = "tic_tac_toe"
required-features = ["server", "client", "renet_netcode"]