Skip to content

Commit

Permalink
Merge pull request #184 from cameleon-rs/leaner-zip-dependency
Browse files Browse the repository at this point in the history
Only enable the `deflate` feature of the `zip` dependency
  • Loading branch information
Y-Nak authored Apr 10, 2024
2 parents 2cc8151 + af604ab commit 64e2bee
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion cameleon/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
2 changes: 1 addition & 1 deletion gentl/src/ffi/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,7 @@ lazy_static::lazy_static! {
}

thread_local! {
static LAST_ERROR: RefCell<LastError> = {
static LAST_ERROR: RefCell<LastError> = const {
let last_error = LastError {
err: None,
};
Expand Down

0 comments on commit 64e2bee

Please sign in to comment.