Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
47 changes: 37 additions & 10 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

9 changes: 8 additions & 1 deletion sdk/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -183,7 +183,6 @@ uuid = { version = "1.18.0", features = ["serde", "v4"] }
web-time = "1.1"
x509-parser = "0.18.0"
zeroize = { version = "1.8", features = ["zeroize_derive"] }
zip = { version = "7.0.0", default-features = false }

# Use the asm feature of sha2 on aarch64 macOS for better performance. This nearly
# halves hashing time for large assets (> 50gb mp4, for example).
Expand All @@ -199,6 +198,7 @@ sha2 = "0.10.6"
sha2 = { version = "0.10.6", features = ["asm"] }

[target.'cfg(not(target_os = "wasi"))'.dependencies]
zip = { version = "7.0", default-features = false }
reqwest = { version = "0.12.23", default-features = false, features = [
# These are some of the defaults in `reqwest`.
"http2",
Expand All @@ -213,6 +213,13 @@ ureq = { version = "3.1.0", default-features = false, features = [
], optional = true }

[target.'cfg(target_os = "wasi")'.dependencies]
# TODO: Keep zip crate pinned until typed-path works on WASI.
# See https://github.com/contentauth/c2pa-rs/issues/1759 and
# http://github.com/chipsenkbeil/typed-path/pull/57.
# Zip 7.x adds a dependency on typed-path 0.12.0 which doesn't compile on WASI,
# so pin to 6.x here.
zip = { version = "6.0", default-features = false }

wasi = { version = "0.14.3", optional = true }
wstd = { version = "0.5.4", optional = true }

Expand Down
Loading