From de36a3cf80c7b64f259aa7865e449eff4f148c3d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Rodolphe=20Br=C3=A9ard?= Date: Sun, 20 Dec 2020 18:13:30 +0100 Subject: [PATCH] Fix the Cargo.toml files --- opensmtpd-derive/Cargo.toml | 2 +- opensmtpd/Cargo.toml | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/opensmtpd-derive/Cargo.toml b/opensmtpd-derive/Cargo.toml index 641ccbf..b212300 100644 --- a/opensmtpd-derive/Cargo.toml +++ b/opensmtpd-derive/Cargo.toml @@ -17,4 +17,4 @@ proc-macro = true [dependencies] proc-macro2 = "1.0" quote = "1.0" -syn = { version = "1.0", features = ["full", "extra-traits"] } +syn = { version = "1.0", default-features = false, features = ["full", "parsing", "printing", "proc-macro"] } diff --git a/opensmtpd/Cargo.toml b/opensmtpd/Cargo.toml index e32dd37..ffb49c2 100644 --- a/opensmtpd/Cargo.toml +++ b/opensmtpd/Cargo.toml @@ -14,7 +14,7 @@ include = ["src/**/*", "Cargo.toml", "../LICENSE-*.txt"] [dependencies] log = "0.4" nom = "6.0" -opensmtpd_derive = { path = "../opensmtpd-derive" } +opensmtpd_derive = { version = "0.3", path = "../opensmtpd-derive" } pretty-hex = "0.2" [dev-dependencies]