-
Notifications
You must be signed in to change notification settings - Fork 31
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Update to 0.14.0-rc.2 * Temporary disable CI for bevy_replicon_renet * Minor stylistic changes Just a few spaces and an intermediate veriable to make the code look a little bit nicer. * Bump version to 0.27.0-rc.1 * Remove bevy_replicon_renet from workspace * Bump version to 0.27.0-rc.2 * Undo changes in bevy_replicon_renet [skip ci] * Rework events organization - Swap `receive` system between ServerEventsPlugin and `ClientEventsPlugin` to properly separate what what runs on client or server. - Move `ServerEventsPlugin::reset` logic inside `ClientEventsPlugin::reset` because this logic runs on client. - Move `server::events::event_data` module to `core::event_registry::server_event`. - Move `client::events::event_data` module to `core::event_registry::client_event`. No functional changes, except `ServerEventsPlugin` and `ClientEventsPlugin` can be disabled on client-only and server-only apps respectively. Closes #276. * Do not divide values per seconds by the number of messages * Update changelog [skip ci] * Put `ClientDiagnosticsPlugin` under `diagnostics` feature (#295) * Put `scene` module under `scene` feature (enabled by default) * Put `parent_sync` module under `parent_sync` feature * Client-server-features (#298) * Use GitHub's warning about semver compatibility https://docs.github.com/en/get-started/writing-on-github/getting-started-with-writing-and-formatting-on-github/basic-writing-and-formatting-syntax#alerts * Document features better I took inspiration from Bevy. * Update src/lib.rs * Move `bevy_replicon_renet` to a dedicated repository * Bump version to 0.27.0-rc.3 * Fix copy-paste * Speedup removals caching The necessary method was provided in 0.14. * Remove mentions of the RC Without it it will be quite hard to read the changelog (users will have to check the changes from RC) or I will need to copy all changes from RC for the upcoming 0.27.0. I also removed it from the compatibility table as suggested by @UkoeHB. I also don't think that they will be useful... Keeping them will make the table harder to read. Another option would be to keep them, but put under a spoiler. --------- Co-authored-by: UkoeHB <[email protected]>
- Loading branch information
Showing
55 changed files
with
1,762 additions
and
3,159 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -26,5 +26,3 @@ jobs: | |
|
||
- name: Check dependencies | ||
uses: EmbarkStudios/cargo-deny-action@v1 | ||
with: | ||
arguments: --workspace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,6 @@ | ||
[package] | ||
name = "bevy_replicon" | ||
version = "0.26.3" | ||
version = "0.27.0-rc.3" | ||
authors = [ | ||
"Hennadii Chernyshchyk <[email protected]>", | ||
"koe <[email protected]>", | ||
|
@@ -20,31 +20,101 @@ 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.13", default-features = false, features = ["bevy_scene"] } | ||
bevy = { version = "0.14.0-rc.4", default-features = false, features = [ | ||
"serialize", | ||
] } | ||
bytes = "1.5" | ||
bincode = "1.3" | ||
serde = "1.0" | ||
varint-rs = "2.2" | ||
ordered-multimap = "0.7" | ||
|
||
[dev-dependencies] | ||
bevy = { version = "0.13", default-features = false, features = [ | ||
bevy = { version = "0.14.0-rc.4", default-features = false, features = [ | ||
"serialize", | ||
"bevy_asset", | ||
"bevy_scene", | ||
"bevy_sprite", | ||
] } | ||
criterion = { version = "0.5", default-features = false, features = [ | ||
"cargo_bench_support", | ||
] } | ||
|
||
[lints.clippy] | ||
type_complexity = "allow" | ||
too_many_arguments = "allow" | ||
[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 | ||
|
||
[workspace] | ||
members = ["bevy_replicon_renet"] | ||
[[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" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.