From d2ada5a1ee1d9e13fe8c526b4ba89adc08c1782d Mon Sep 17 00:00:00 2001 From: Aleksa Sarai Date: Wed, 2 Sep 2020 17:02:10 +1000 Subject: [PATCH] rslib: disable bzip2 feature We can't link against libzip2.so.1 when building manylinux wheels, but the only dependency which required this was "zip" and we don't appear to make use of bzip2 in Anki. This fixes the following "make build" error on Linux: x maturin failed Caused by: Failed to ensure manylinux compliance Caused by: Your library is not manylinux compliant because it links the following forbidden libraries: ["libbz2.so.1"] Signed-off-by: Aleksa Sarai --- rslib/Cargo.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rslib/Cargo.toml b/rslib/Cargo.toml index 4519dac2a..8f4d873c1 100644 --- a/rslib/Cargo.toml +++ b/rslib/Cargo.toml @@ -28,7 +28,7 @@ serde = "1.0.114" serde_json = "1.0.56" tokio = { version = "0.2.21", features = ["fs", "rt-threaded"] } serde_derive = "1.0.114" -zip = "0.5.6" +zip = { version = "0.5.6", default-features = false, features = ["deflate", "time"] } serde_tuple = "0.5.0" coarsetime = { git = "https://github.com/ankitects/rust-coarsetime.git", branch="old-mac-compat" } utime = "0.3.1"