forked from lucaspoffo/renet
-
Notifications
You must be signed in to change notification settings - Fork 4
/
Copy pathCargo.toml
47 lines (42 loc) · 2.15 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
[package]
name = "bevy_renet2"
description = "Bevy plugin for the renet2 crate"
version = "0.1.1"
edition = "2021"
keywords = ["gamedev", "networking"]
license = "MIT OR Apache-2.0"
readme = "README.md"
repository = "https://github.com/UkoeHB/renet2"
[package.metadata.docs.rs]
features = ["default", "serde"]
rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
[features]
default = ["netcode"]
serde = ["renet2_netcode/serde"]
steam = ["dep:renet2_steam", "dep:steamworks"]
netcode = ["dep:renet2_netcode"]
native_transport = ["netcode", "renet2_netcode/native_transport"]
memory_transport = ["netcode", "renet2_netcode/memory_transport"]
wt_server_transport = ["netcode", "renet2_netcode/wt_server_transport"]
wt_client_transport = ["netcode", "renet2_netcode/wt_client_transport"]
ws_server_transport = ["netcode", "renet2_netcode/ws_server_transport"]
ws_client_transport = ["netcode", "renet2_netcode/ws_client_transport"]
[[example]]
name = "simple"
required-features = ["serde", "netcode"]
[dependencies]
bevy_app = {version = "0.15", default-features = false}
bevy_ecs = {version = "0.15", default-features = false}
bevy_time = {version = "0.15", default-features = false}
renet2 = {path = "../renet2", version = "0.1.1", default-features = false, features = ["bevy"]}
renet2_netcode = {path = "../renet2_netcode", version = "0.1.1", optional = true, default-features = false, features = ["bevy"]}
renet2_steam = {path = "../renet2_steam", version = "0.1.1", optional = true, default-features = false, features = ["bevy"]}
steamworks = {version = "0.11", optional = true}
[dev-dependencies]
bevy = {version = "0.15", default-features = false, features = ["bevy_core_pipeline", "bevy_render", "bevy_window", "bevy_asset", "bevy_pbr", "x11", "tonemapping_luts", "ktx2", "zstd"]}
bincode = "1.3"
env_logger = "0.11"
renet2 = {path = "../renet2", version = "0.1.1", default-features = false, features = ["bevy"] }
renet2_netcode = {path = "../renet2_netcode", version = "0.1.1", default-features = false, features = ["bevy", "memory_transport"]}
serde = {version = "1.0", features = ["derive"]}
tracing-subscriber = { version = "0.3", features = [ "env-filter", "std", "tracing-log" ] }