From 9b59ca674a08adeb0398b0eb01f60baf49698da0 Mon Sep 17 00:00:00 2001 From: Guy Bedford Date: Wed, 25 Sep 2024 19:02:35 +0200 Subject: [PATCH] bump: 0.22 release prep with macro crate (#278) --- Cargo.toml | 4 ++-- crates/macro/Cargo.toml | 10 +++++----- crates/macro/src/lib.rs | 2 +- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/Cargo.toml b/Cargo.toml index 5f3793d8..fc48441a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Nick Fitzgerald "] edition = "2018" name = "walrus" -version = "0.21.3" +version = "0.22.0" license = "MIT/Apache-2.0" readme = "README.md" categories = ["wasm"] @@ -28,7 +28,7 @@ id-arena = "2.2.1" leb128 = "0.2.4" log = "0.4.8" rayon = { version = "1.1.0", optional = true } -walrus-macro = { path = './crates/macro', version = '=0.19.0' } +walrus-macro = { path = './crates/macro', version = '=0.22.0' } wasm-encoder = "0.212.0" wasmparser = "0.212.0" gimli = "0.26.0" diff --git a/crates/macro/Cargo.toml b/crates/macro/Cargo.toml index 8fd4435b..6fca341d 100644 --- a/crates/macro/Cargo.toml +++ b/crates/macro/Cargo.toml @@ -2,7 +2,7 @@ authors = ["Nick Fitzgerald "] edition = "2018" name = "walrus-macro" -version = "0.19.0" +version = "0.22.0" license = "MIT/Apache-2.0" categories = ["wasm"] repository = "https://github.com/rustwasm/walrus/tree/crates/macro" @@ -13,10 +13,10 @@ Internal macros used by the `walrus` crate, not for public consumption. """ [dependencies] -heck = "0.3.1" -proc-macro2 = "1.0.1" -quote = "1.0.2" -syn = { version = "2.0.0", features = ['extra-traits'] } +heck = "0.5.0" +proc-macro2 = "1.0.86" +quote = "1.0.37" +syn = { version = "2.0.77", features = ['extra-traits'] } [lib] proc-macro = true diff --git a/crates/macro/src/lib.rs b/crates/macro/src/lib.rs index 36731a7a..12161de2 100755 --- a/crates/macro/src/lib.rs +++ b/crates/macro/src/lib.rs @@ -3,7 +3,7 @@ extern crate proc_macro; use self::proc_macro::TokenStream; -use heck::SnakeCase; +use heck::ToSnakeCase; use proc_macro2::Span; use quote::quote; use syn::ext::IdentExt;