From 6bd726bc6ba438d6c6905c29d75146fceaaf6077 Mon Sep 17 00:00:00 2001 From: Squirrel Date: Tue, 3 Aug 2021 19:57:03 +0100 Subject: [PATCH] crate missing dependency when compiled on its own with std (#9487) * Everything else in frame compiles in std. This doesn't on its own as it needs Debug and that's in the extra-traits syn feature. * Incorporating feedback --- substrate/frame/support/procedural/tools/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/substrate/frame/support/procedural/tools/Cargo.toml b/substrate/frame/support/procedural/tools/Cargo.toml index 83b896acc8..4c21cf00b9 100644 --- a/substrate/frame/support/procedural/tools/Cargo.toml +++ b/substrate/frame/support/procedural/tools/Cargo.toml @@ -15,5 +15,5 @@ targets = ["x86_64-unknown-linux-gnu"] frame-support-procedural-tools-derive = { version = "3.0.0", path = "./derive" } proc-macro2 = "1.0.28" quote = "1.0.3" -syn = { version = "1.0.58", features = ["full", "visit"] } +syn = { version = "1.0.58", features = ["full", "visit", "extra-traits"] } proc-macro-crate = "1.0.0"