Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
1917: Rewriting the network library to provide a nicer baseline r=TimonPost a=jstnlef ## Description Kind of a big one here I know. This is an attempt to both make the networking library play a bit more nicely with Specs and to also decouple it from laminar while still providing the ability to use laminar as a transport backend. I wanted to get this up to get some feedback from people. Comments, alternative approaches, criticisms are all welcomed and desired! I'm hoping to use this new implementation as a new baseline with which we can build new functionality off of like component synchronization, matchmaking, etc. This also paves the way for us to implement a websocket implementation backend for wasm games in, what I think, is a fairly painless manner. I'm also aware that the testing situation is extremely lacking but I'm mostly curious if this is the route we'd like to go down before I shore up the tests. ## Additions - Complete rewrite of the current networking crate. ## Removals - The old networking crate ## PR Checklist By placing an x in the boxes I certify that I have: - [x] Updated the content of the book if this PR would make the book outdated. - [x] Added a changelog entry if this will impact users, or modified more than 5 lines of Rust that wasn't a doc comment. - [x] Added unit tests for new code added in this PR. - [X] Acknowledged that by making this pull request I release this code under an MIT/Apache 2.0 dual licensing scheme. If this modified or created any rs files: - [x] Ran `cargo +stable fmt --all` - [x] Ran `cargo clippy --all --features "empty"` - [x] Ran `cargo test --all --features "empty"` Co-authored-by: Justin LeFebvre <[email protected]> Co-authored-by: Timon <[email protected]>
- Loading branch information