diff --git a/cameleon/Cargo.toml b/cameleon/Cargo.toml index d369f6e5..7046a7e0 100644 --- a/cameleon/Cargo.toml +++ b/cameleon/Cargo.toml @@ -18,7 +18,7 @@ keywords = ["genicam", "camera", "usb3", "gige", "uvc"] [dependencies] thiserror = "1.0.24" semver = "1.0.0" -zip = "0.6.0" +zip = { version = "0.6.0", default-features = false, features = ["deflate"] } sha-1 = "0.10.0" async-channel = "1.7.0" # 1.7.0 has added recv_blocking() tracing = "0.1.26" diff --git a/gentl/src/ffi/mod.rs b/gentl/src/ffi/mod.rs index e00f0717..8d7825a5 100644 --- a/gentl/src/ffi/mod.rs +++ b/gentl/src/ffi/mod.rs @@ -183,7 +183,7 @@ lazy_static::lazy_static! { } thread_local! { - static LAST_ERROR: RefCell = { + static LAST_ERROR: RefCell = const { let last_error = LastError { err: None, };