Skip to content

Commit 9ae7233

Browse files
Update image crate dependency and limit features (#341)
This should help resolve recent build failures on Windows. Crate `half` is no longer needed.
1 parent b4ca90b commit 9ae7233

File tree

2 files changed

+2
-4
lines changed

2 files changed

+2
-4
lines changed

make_test_images/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -16,8 +16,7 @@ c2pa = { path = "../sdk", features = [
1616
] }
1717
env_logger = "0.10"
1818
log = "0.4.8"
19-
half = "<2.3.0, < 3" # fix for older versions of rust
20-
image = "0.24.2"
19+
image = { version = "0.24.7", default-features = false, features = ["jpeg", "png"] }
2120
nom = "7.1.1"
2221
regex = "1.5.6"
2322
serde = "1.0.137"

sdk/Cargo.toml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -108,8 +108,7 @@ x509-certificate = "0.19.0"
108108

109109
[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
110110
ureq = "2.4.0"
111-
half = "<2.3.0, < 3" # fix for older versions of rust
112-
image = { version = "0.24.2", optional = true }
111+
image = { version = "0.24.7", default-features = false, features = ["jpeg", "png"], optional = true }
113112
instant = "0.1.12"
114113
openssl = { version = "0.10.48", features = ["vendored"], optional = true }
115114
openssl-sys = { version = "=0.9.92", optional = true }

0 commit comments

Comments
 (0)