From 326772710d96aa5e26f81a9311c9cb7635992f3c Mon Sep 17 00:00:00 2001 From: oyvindln Date: Thu, 11 Jan 2018 23:24:18 +0100 Subject: [PATCH] Workaround to avoid having miniz_oxide_c_api export symbols that collide with miniz-sys For projects that have dependencies on both 0.2 and 1.0 versions of flate2 --- Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Cargo.toml b/Cargo.toml index 6d669ed5b..ff4b30d36 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -24,7 +24,7 @@ miniz-sys = { path = "miniz-sys", version = "0.1.7", optional = true } libz-sys = { version = "1.0", optional = true } tokio-io = { version = "0.1", optional = true } futures = { version = "0.1", optional = true } -miniz_oxide_c_api = { version = "0.1", optional = true} +miniz_oxide_c_api = { version = "0.1", optional = true, features = ["no_c_export"]} [dev-dependencies] rand = "0.3"