From 01632b37fc5f7670ebdcc54d3435adca9ca5760d Mon Sep 17 00:00:00 2001 From: Graham Esau Date: Sun, 6 Oct 2019 17:15:59 +0100 Subject: [PATCH] Always enable syn extra-traits feature. ExprPath's PartialEq implementation is required by schemars_derive --- schemars_derive/Cargo.toml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/schemars_derive/Cargo.toml b/schemars_derive/Cargo.toml index 2a8c5fd..88c9b81 100644 --- a/schemars_derive/Cargo.toml +++ b/schemars_derive/Cargo.toml @@ -14,9 +14,8 @@ proc-macro = true [dependencies] proc-macro2 = "0.4" quote = "0.6.13" -syn = "0.15.44" +syn = { version = "0.15.44", features = ["extra-traits"] } serde_derive_internals = "0.24.1" [dev-dependencies] pretty_assertions = "0.6.1" -syn = { version = "0.15.44", features = ["extra-traits"] }