Skip to content

Commit

Permalink
prep v0.1.2; expose ws-rustls and ws-native-tls features to bevy_rene…
Browse files Browse the repository at this point in the history
…t2 and bevy_replicon_renet2
  • Loading branch information
UkoeHB committed Feb 3, 2025
1 parent 7d00861 commit f47ba51
Show file tree
Hide file tree
Showing 7 changed files with 22 additions and 18 deletions.
14 changes: 8 additions & 6 deletions bevy_renet2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
[package]
name = "bevy_renet2"
description = "Bevy plugin for the renet2 crate"
version = "0.1.1"
version = "0.1.2"
edition = "2021"
keywords = ["gamedev", "networking"]
license = "MIT OR Apache-2.0"
Expand All @@ -23,6 +23,8 @@ 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"]
ws-rustls = ["renet2_netcode/ws-rustls"]
ws-native-tls = ["renet2_netcode/ws-native-tls"]

[[example]]
name = "simple"
Expand All @@ -32,16 +34,16 @@ required-features = ["serde", "netcode"]
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"]}
renet2 = {path = "../renet2", version = "0.1.2", default-features = false, features = ["bevy"]}
renet2_netcode = {path = "../renet2_netcode", version = "0.1.2", optional = true, default-features = false, features = ["bevy"]}
renet2_steam = {path = "../renet2_steam", version = "0.1.2", 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"]}
renet2 = {path = "../renet2", version = "0.1.2", default-features = false, features = ["bevy"] }
renet2_netcode = {path = "../renet2_netcode", version = "0.1.2", default-features = false, features = ["bevy", "memory_transport"]}
serde = {version = "1.0", features = ["derive"]}
tracing-subscriber = { version = "0.3", features = [ "env-filter", "std", "tracing-log" ] }
8 changes: 5 additions & 3 deletions bevy_replicon_renet2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "bevy_replicon_renet2"
version = "0.1.1"
version = "0.1.2"
authors = [
"Hennadii Chernyshchyk <genaloner@gmail.com>",
"koe <ukoe@protonmail.com>",
Expand All @@ -23,13 +23,13 @@ rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]

[dependencies]
bevy_replicon = { version = "0.29", default-features = false }
bevy_renet2 = { path = "../bevy_renet2", version = "0.1.1", default-features = false }
bevy_renet2 = { path = "../bevy_renet2", version = "0.1.2", default-features = false }
bevy = { version = "0.15", default-features = false }

[dev-dependencies]
serde = "1.0"
clap = { version = "4.1", features = ["derive"] }
bevy_renet2 = { path = "../bevy_renet2", version = "0.1.1", features = ["native_transport"] }
bevy_renet2 = { path = "../bevy_renet2", version = "0.1.2", features = ["native_transport"] }
bevy = { version = "0.15", default-features = false, features = [
"bevy_state",
"bevy_text",
Expand Down Expand Up @@ -58,6 +58,8 @@ wt_server_transport = ["netcode", "bevy_renet2/wt_server_transport"]
wt_client_transport = ["netcode", "bevy_renet2/wt_client_transport"]
ws_server_transport = ["netcode", "bevy_renet2/ws_server_transport"]
ws_client_transport = ["netcode", "bevy_renet2/ws_client_transport"]
ws-rustls = ["bevy_renet2/ws-rustls"]
ws-native-tls = ["bevy_renet2/ws-native-tls"]

[[test]]
name = "transport"
Expand Down
2 changes: 1 addition & 1 deletion renet2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "renet2"
version = "0.1.1"
version = "0.1.2"
authors = ["koe <ukoe@protonmail.com>"]
description = "Server/Client network protocol library for multiplayer games, forked from renet"
edition = "2021"
Expand Down
6 changes: 3 additions & 3 deletions renet2_netcode/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "renet2_netcode"
version = "0.1.1"
version = "0.1.2"
authors = ["koe <ukoe@protonmail.com>"]
description = "Netcode integration for renet2"
edition = "2021"
Expand Down Expand Up @@ -97,8 +97,8 @@ ws_client_transport = [
bytes = "1.1"
log = "0.4"
octets = "0.3"
renetcode2 = { path = "../renetcode2", version = "0.1.1" }
renet2 = { path = "../renet2", version = "0.1.1" }
renetcode2 = { path = "../renetcode2", version = "0.1.2" }
renet2 = { path = "../renet2", version = "0.1.2" }
hmac-sha256 = { version = "1.1" }
url = { version = "2.4" }
bevy_ecs = { version = "0.15", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions renet2_steam/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "renet2_steam"
version = "0.1.1"
version = "0.1.2"
keywords = ["gamedev", "networking", "transport"]
description = "steam transport for the renet2 crate"
repository = "https://github.com/UkoeHB/renet2"
Expand All @@ -17,7 +17,7 @@ rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
bevy = ["dep:bevy_ecs"]

[dependencies]
renet2 = { path = "../renet2", version = "0.1.1" }
renet2 = { path = "../renet2", version = "0.1.2" }
steamworks = "0.11"
log = "0.4.19"
bevy_ecs = { version = "0.15", optional = true }
Expand Down
4 changes: 2 additions & 2 deletions renet2_visualizer/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "renet2_visualizer"
version = "0.1.1"
version = "0.1.2"
keywords = ["gamedev", "networking"]
description = "Egui metrics visualizer for the renet2 crate"
repository = "https://github.com/UkoeHB/renet2"
Expand All @@ -16,6 +16,6 @@ rustdoc-args = ["-Zunstable-options", "--cfg", "docsrs"]
bevy = ["dep:bevy_ecs"]

[dependencies]
renet2 = { path = "../renet2", version = "0.1.1" }
renet2 = { path = "../renet2", version = "0.1.2" }
egui = "0.29"
bevy_ecs = { version = "0.15", optional = true }
2 changes: 1 addition & 1 deletion renetcode2/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "renetcode2"
version = "0.1.1"
version = "0.1.2"
description = "Server/Client network protocol library for multiplayer games"
keywords = ["gamedev", "networking", "cryptography"]
repository = "https://github.com/UkoeHB/renet2"
Expand Down

0 comments on commit f47ba51

Please sign in to comment.