Skip to content

Commit

Permalink
Upgrade Rust SDK to spec 1.18.4
Browse files Browse the repository at this point in the history
  • Loading branch information
VRCCat committed Sep 22, 2024
1 parent ab0740a commit 9b61686
Show file tree
Hide file tree
Showing 5 changed files with 81 additions and 54 deletions.
3 changes: 1 addition & 2 deletions Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "vrchatapi"
version = "1.18.3"
version = "1.18.4"
authors = ["[email protected]"]
description = "VRChat API Client for Rust"
license = "MIT"
Expand All @@ -16,6 +16,5 @@ reqwest = { version = "^0.12", default-features = false, features = ["json", "co

[dev-dependencies]
tokio = { version = '1', features = ['macros', 'rt-multi-thread'] }

[features]
default = ["reqwest/default"]
1 change: 1 addition & 0 deletions docs/Region.md
Original file line number Diff line number Diff line change
Expand Up @@ -7,6 +7,7 @@
| Us | us |
| Use | use |
| Usw | usw |
| Usx | usx |
| Eu | eu |
| Jp | jp |
| Unknown | unknown |
Expand Down
126 changes: 75 additions & 51 deletions package-lock.json

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"dependencies": {
"@openapitools/openapi-generator-cli": "^2.13.5"
"@openapitools/openapi-generator-cli": "^2.13.9"
}
}
3 changes: 3 additions & 0 deletions src/models/region.rs
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,8 @@ pub enum Region {
Use,
#[serde(rename = "usw")]
Usw,
#[serde(rename = "usx")]
Usx,
#[serde(rename = "eu")]
Eu,
#[serde(rename = "jp")]
Expand All @@ -34,6 +36,7 @@ impl std::fmt::Display for Region {
Self::Us => write!(f, "us"),
Self::Use => write!(f, "use"),
Self::Usw => write!(f, "usw"),
Self::Usx => write!(f, "usx"),
Self::Eu => write!(f, "eu"),
Self::Jp => write!(f, "jp"),
Self::Unknown => write!(f, "unknown"),
Expand Down

0 comments on commit 9b61686

Please sign in to comment.