Skip to content

Commit

Permalink
Merge pull request #5333 from kdy1/build-deps
Browse files Browse the repository at this point in the history
build: Make build dependency on `zip` and `xz` optional
  • Loading branch information
syrusakbary authored Jan 10, 2025
2 parents 8ea093a + afedc93 commit e4e7a2b
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions lib/api/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -130,9 +130,9 @@ llvm = ["compiler", "wasmer-compiler-llvm"]

# - Engines.
engine = ["sys"]
wamr = ["wasm-c-api", "std", "wat"]
wamr = ["wasm-c-api", "std", "wat", "dep:zip"]
wasmi = ["wasm-c-api", "std", "wat", "dep:wasmi_c_api"]
v8 = ["wasm-c-api", "std", "wat", "dep:seq-macro"]
v8 = ["wasm-c-api", "std", "wat", "dep:seq-macro", "dep:xz"]
wasm-c-api = ["wasm-types-polyfill"]

# - Deprecated features.
Expand Down Expand Up @@ -164,8 +164,8 @@ static-artifact-create = ["wasmer-compiler/static-artifact-create"]
cmake = "0.1.50"
tar = "0.4.42"
ureq = "2.10.1"
xz = "0.1.0"
zip = "2.2.0"
xz = { version = "0.1.0", optional = true }
zip = { version = "2.2.0", optional = true }

[target.'cfg(target_env = "musl")'.build-dependencies]
bindgen = { version = "0.70.1", default-features = false, features = [
Expand Down

0 comments on commit e4e7a2b

Please sign in to comment.