Use resolver 2.
[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"
