mirror of
https://github.com/ouch-org/ouch.git
synced 2025-06-07 12:05:46 +00:00
CI: fix Zstd building on some targets
This commit is contained in:
parent
8bf087bbd7
commit
2189574404
12
Cargo.toml
12
Cargo.toml
@ -23,8 +23,20 @@ tar = "0.4.37"
|
|||||||
xz2 = "0.1.6"
|
xz2 = "0.1.6"
|
||||||
zip = { version = "0.5.13", default-features = false, features = ["deflate-miniz"] }
|
zip = { version = "0.5.13", default-features = false, features = ["deflate-miniz"] }
|
||||||
flate2 = { version = "1.0.22", default-features = false, features = ["zlib"] }
|
flate2 = { version = "1.0.22", default-features = false, features = ["zlib"] }
|
||||||
|
|
||||||
|
[target.'cfg(all(target_family = "unix", target_arch = "x86_64"))'.dependencies]
|
||||||
zstd = { version = "0.9.0", default-features = false, features = ["thin"] }
|
zstd = { version = "0.9.0", default-features = false, features = ["thin"] }
|
||||||
|
|
||||||
|
[target.'cfg(any(target_arch = "arm", target_arch = "aarch64"))'.dependencies]
|
||||||
|
zstd = { version = "0.9.0" }
|
||||||
|
|
||||||
|
[target.'cfg(all(target_family = "windows", target_arch = "x86_64"))'.dependencies]
|
||||||
|
zstd = { version = "0.9.0" }
|
||||||
|
|
||||||
|
[target.'cfg(target_family = "x86-64")'.dependencies]
|
||||||
|
|
||||||
|
[target.'cfg(all(target_arch = "x86-64", not(target_os = "windows")))'.dependencies]
|
||||||
|
|
||||||
[dev-dependencies]
|
[dev-dependencies]
|
||||||
tempfile = "3.2.0"
|
tempfile = "3.2.0"
|
||||||
rand = { version = "0.8.3", default-features = false, features = ["small_rng", "std"] }
|
rand = { version = "0.8.3", default-features = false, features = ["small_rng", "std"] }
|
||||||
|
Loading…
x
Reference in New Issue
Block a user