From 0afdc7650cd416a4d8557e05b05af788f1c99d9e Mon Sep 17 00:00:00 2001 From: Ryan Leckey Date: Mon, 4 Nov 2019 08:33:46 -0800 Subject: [PATCH] Update dependencies and disable unneeded syn feature (#3) * Update dependencies and disable unneeded syn feature * Update syn dependency for required features only Only depend on the required derive, parsing and proc-macro features from syn. Prefer to depend on minor versions, rather than patches. --- wchar-impl/Cargo.toml | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/wchar-impl/Cargo.toml b/wchar-impl/Cargo.toml index ea7d138..0e00dd4 100644 --- a/wchar-impl/Cargo.toml +++ b/wchar-impl/Cargo.toml @@ -14,7 +14,11 @@ license = "MIT" proc-macro = true [dependencies] -proc-macro2 = "0.4" +proc-macro2 = "1.0" proc-macro-hack = "0.5" -quote = "0.6" -syn = { version = "0.15", features = ["full"] } +quote = "1.0" + +[dependencies.syn] +version = "1.0" +default-features = false +features = ["derive", "parsing", "proc-macro"]