-
Notifications
You must be signed in to change notification settings - Fork 827
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* Begin replacing grpio with tonic * "Finish" porting to tonic * Add metadata fields to manifest * Allow optional port assignment * Fix field name * Remove unused generic * Print out error when unable to get game server * Pull out health check into its own separate task * Update rust-simple example to work with updated SDK * Remove unused generic parameter * Fix rust tests * Remove unneeded cruft from rust build image * Remove lines causing excessive rebuilds * Fix rust CI test, add prefix to log messages The logs from CD runs are incredibly hard to read since they are just intermixed with all tests, so I prefixed all of the print messages from the rust example so I can actually read the output more easily. * Address PR feedback * Update rust SDK documentation * spawn_health_task => health_check Removed the auto health check task since that actually made health checking meaningless since it's _supposed_ to be sent by the application itself when it working properly, not automatically * Use internal timeout for SDK connection * Do continuous health checks This method should be better than the previous test/examples as the health check will actually be canceled if the task/thread the health check is owned by is canceled for any reason * Copy protobuffers before build * Bump example version * Add trailing newline * Ensure protos are copied for the test * Vendor protos again
- Loading branch information
1 parent
2ad1ec8
commit 3d88bef
Showing
27 changed files
with
1,612 additions
and
5,174 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
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
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 |
---|---|---|
|
@@ -13,5 +13,4 @@ Cargo.lock | |
# These are backup files generated by rustfmt | ||
**/*.rs.bk | ||
|
||
|
||
# End of https://www.gitignore.io/api/rust |
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 |
---|---|---|
@@ -0,0 +1,10 @@ | ||
fn main() { | ||
tonic_build::configure() | ||
// The SDK is just a client, no need to build the server types | ||
.build_server(false) | ||
.compile( | ||
&["proto/sdk/alpha/alpha.proto", "proto/sdk/sdk.proto"], | ||
&["proto/googleapis", "proto/sdk/alpha", "proto/sdk"], | ||
) | ||
.expect("failed to compile protobuffers"); | ||
} |
Oops, something went wrong.