From 3a87e9c8bcaac0e6e822686e1fe7a24d46a90098 Mon Sep 17 00:00:00 2001 From: Andrew Jones Date: Fri, 19 Apr 2019 07:52:22 +0100 Subject: [PATCH] Restrict patch version of syn (#2327) --- substrate/srml/support/procedural/Cargo.toml | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/substrate/srml/support/procedural/Cargo.toml b/substrate/srml/support/procedural/Cargo.toml index 1aaedcbf04..26b648da0c 100644 --- a/substrate/srml/support/procedural/Cargo.toml +++ b/substrate/srml/support/procedural/Cargo.toml @@ -13,4 +13,6 @@ sr-api-macros = { path = "../../../core/sr-api-macros" } proc-macro2 = "0.4.27" quote = { version = "0.6.12" } -syn = { version = "0.15.30", features = ["full"] } +# FIXME: https://github.com/paritytech/substrate/issues/2326 +# Remove this restriction once the dependency on erstwhile CustomKeyword trait is removed +syn = { version = ">= 0.15.30, < 0.15.32", features = ["full"] }