From e0786af3d566cb088870e66f2bd10f78b2088873 Mon Sep 17 00:00:00 2001 From: aticu <15schnic@gmail.com> Date: Tue, 14 Jul 2020 20:40:46 +0200 Subject: [PATCH] Fix incorrect dependency toml version `0.5.0` incorrectly specified serde version `1.0.0` as one of its dependencies, even though it does not work with with serde version `1.0.0`. This [was fixed](https://github.com/alexcrichton/toml-rs/pull/311) and released in version `0.5.2`. This commit updates the toml dependency to version `0.5.2`. Now `proc-macro-crate` builds fine with the cargo flag [`-Z minimal-versions`](https://github.com/rust-lang/cargo/issues/5657). --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 312a05c..07b70ce 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -14,7 +14,7 @@ Replacement for crate (macro_rules keyword) in proc-macros readme = "./README.md" [dependencies] -toml = "0.5.0" +toml = "0.5.2" [dev-dependencies] quote = "1.0.7"