From 97057bf8a2eaa1cd4a3a0ca05c8bde870e320263 Mon Sep 17 00:00:00 2001 From: Kalaiselvim <117940852+Kalaiselvi84@users.noreply.github.com> Date: Mon, 21 Aug 2023 15:54:01 -0700 Subject: [PATCH] Rust SDK on crates.io (#3332) * make rust sdk crate * description for Agones package * updated release process --- docs/governance/templates/release_issue.md | 1 + sdks/rust/Cargo.toml | 7 ++++--- 2 files changed, 5 insertions(+), 3 deletions(-) diff --git a/docs/governance/templates/release_issue.md b/docs/governance/templates/release_issue.md index abff33ce11..d5d986eebd 100644 --- a/docs/governance/templates/release_issue.md +++ b/docs/governance/templates/release_issue.md @@ -63,6 +63,7 @@ and copy it into a release issue. Fill in relevant values, found inside {} - [ ] Post to the [agonesdev](https://twitter.com/agonesdev) Twitter account. - [ ] Run `git checkout main`. - [ ] Run `make sdk-update-version release_stage=after version={version}` file. This command will update the version number in the sdks/install files to {version}+1-dev. +- [ ] Update the `agones` crate version in `sdks/rust/Cargo.toml` to {version}, then run `cargo publish --dry-run` and, if successful, proceed with `cargo publish` - [ ] Create PR with these changes, and merge them with approval - [ ] Close this issue. _Congratulations!_ - the release is now complete! :tada: :clap: :smile: :+1: diff --git a/sdks/rust/Cargo.toml b/sdks/rust/Cargo.toml index dc6d8b1da9..e41ae4e157 100644 --- a/sdks/rust/Cargo.toml +++ b/sdks/rust/Cargo.toml @@ -1,4 +1,4 @@ -# Copyright 2018 Google LLC All Rights Reserved. +# Copyright 2023 Google LLC All Rights Reserved. # # Licensed under the Apache License, Version 2.0 (the "License"); # you may not use this file except in compliance with the License. @@ -14,8 +14,9 @@ [package] name = "agones" -version = "0.2.1" +version = "1.34.0" edition = "2021" +description = "The Rust SDK for Agones." license = "Apache-2.0" repository = "https://github.com/googleforgames/agones" documentation = "https://docs.rs/agones" @@ -29,7 +30,7 @@ prost-types = "0.11.9" thiserror = "1.0" [dependencies.tokio] -version = "1.6" +version = "1.32" default-features = false features = ["sync", "time"]