From d5f9b0f5c6b6d09dd26d651347e63668fa271333 Mon Sep 17 00:00:00 2001 From: Stephen Chung Date: Sun, 31 Jul 2022 12:52:53 +0800 Subject: [PATCH] Use resolver 2. --- codegen/Cargo.toml | 11 ++++++----- 1 file changed, 6 insertions(+), 5 deletions(-) diff --git a/codegen/Cargo.toml b/codegen/Cargo.toml index 2a9ed2c2..d384c210 100644 --- a/codegen/Cargo.toml +++ b/codegen/Cargo.toml @@ -1,7 +1,8 @@ [package] name = "rhai_codegen" -version = "1.4.1" +version = "1.4.2" edition = "2018" +resolver = "2" authors = ["jhwgh1968", "Stephen Chung"] description = "Procedural macros support package for Rhai, a scripting language and engine for Rust" homepage = "https://rhai.rs/book/plugins/index.html" @@ -15,11 +16,11 @@ proc-macro = true default = [] metadata = [] -[dev-dependencies] -rhai = { path = "..", version = "1.6", features = ["metadata"] } -trybuild = "1" - [dependencies] proc-macro2 = "1" syn = { version = "1.0", features = ["full", "parsing", "printing", "proc-macro", "extra-traits"] } quote = "1" + +[dev-dependencies] +rhai = { path = "..", version = "1.6", features = ["metadata"] } +trybuild = "1"