aboutsummaryrefslogtreecommitdiff
path: root/azalea-inventory
diff options
context:
space:
mode:
authormat <27899617+mat-1@users.noreply.github.com>2023-07-09 19:11:29 -0500
committerGitHub <noreply@github.com>2023-07-09 19:11:29 -0500
commitd1afd02aa84e7b4450c1607277f078eb2a0f1bf3 (patch)
treeefea9bb7ef7f2064f7c963fd88f394fecec6231b /azalea-inventory
parentea8a8fccb6eb39c97f6cb69e11db5f7d0886172e (diff)
downloadazalea-drasl-d1afd02aa84e7b4450c1607277f078eb2a0f1bf3.tar.xz
Update to Bevy 0.11 (#94)
* update to bevy 0.11 * clippy --------- Co-authored-by: mat <git@matdoes.dev>
Diffstat (limited to 'azalea-inventory')
-rw-r--r--azalea-inventory/azalea-inventory-macros/Cargo.toml6
-rw-r--r--azalea-inventory/azalea-inventory-macros/src/parse_macro.rs4
2 files changed, 5 insertions, 5 deletions
diff --git a/azalea-inventory/azalea-inventory-macros/Cargo.toml b/azalea-inventory/azalea-inventory-macros/Cargo.toml
index ee41c6b6..56590aec 100644
--- a/azalea-inventory/azalea-inventory-macros/Cargo.toml
+++ b/azalea-inventory/azalea-inventory-macros/Cargo.toml
@@ -12,6 +12,6 @@ proc-macro = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html
[dependencies]
-proc-macro2 = "1.0.47"
-quote = "1.0.21"
-syn = "1.0.104"
+proc-macro2 = "1.0.64"
+quote = "1.0.29"
+syn = "2.0.25"
diff --git a/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs b/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs
index 8eada4ec..6aafe16f 100644
--- a/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs
+++ b/azalea-inventory/azalea-inventory-macros/src/parse_macro.rs
@@ -39,7 +39,7 @@ impl Parse for Menu {
let content;
braced!(content in input);
let fields = content
- .parse_terminated::<Field, Token![,]>(Field::parse)?
+ .parse_terminated(Field::parse, Token![,])?
.into_iter()
.collect();
@@ -61,7 +61,7 @@ pub struct DeclareMenus {
impl Parse for DeclareMenus {
fn parse(input: ParseStream) -> Result<Self> {
let menus = input
- .parse_terminated::<Menu, Token![,]>(Menu::parse)?
+ .parse_terminated(Menu::parse, Token![,])?
.into_iter()
.collect();
Ok(Self { menus })