From 1b83aa019f774a95f5665033dec9aa0dbd1e59b6 Mon Sep 17 00:00:00 2001 From: Nicolas Bigaouette Date: Sun, 13 Jan 2019 16:17:33 -0500 Subject: [PATCH] Relax minimal patch version for serde_derive A conflict with cbindgen exists which prevent restson to be used with it. `cbindgen` [pins `serde_derive` to `1.0.58`](https://github.com/eqrion/cbindgen/blob/44e9b2112a06e46ddda6073e237d3a56df39c3e2/Cargo.toml#L24-L27) due to https://github.com/eqrion/cbindgen/issues/203 so depending on `^1.0.80` prevents using both crates together. This patch simply relaxes the dependency on `serde_derive` to `1.0`, which is API compatible with both `1.0.80` and `1.0.58`. Closes https://github.com/spietika/restson-rust/issues/14 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 3985532..dc67b5a 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -16,7 +16,7 @@ futures = "^0.1.25" tokio-core = "^0.1.17" serde = "^1.0.80" serde_json = "^1.0.33" -serde_derive = "^1.0.80" +serde_derive = "1.0" url = "^1.7.2" log = "^0.4.6" base64 = "^0.10.0"