Skip to content

Commit

Permalink
zune: Fix CI dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
etemesi254 committed Oct 21, 2023
1 parent fc055eb commit a1843b6
Show file tree
Hide file tree
Showing 25 changed files with 137 additions and 92 deletions.
6 changes: 3 additions & 3 deletions .github/workflows/fuzz_deflate.yml
Original file line number Diff line number Diff line change
Expand Up @@ -30,8 +30,8 @@ jobs:
- name: Install
run: cargo install cargo-fuzz
- name: Fuzz deflate
run: cargo +nightly fuzz run --fuzz-dir zune-inflate/fuzz roundtrip fuzz-corpus/inflate -j2 -- -timeout=10s -max_total_time=120
run: cargo +nightly fuzz run --fuzz-dir crates/zune-inflate/fuzz roundtrip fuzz-corpus/inflate -j2 -- -timeout=10s -max_total_time=120
- name: Fuzz zlib
run: cargo +nightly fuzz run --fuzz-dir zune-inflate/fuzz roundtrip_zlib fuzz-corpus/inflate -j2 -- -timeout=10s -max_total_time=120
run: cargo +nightly fuzz run --fuzz-dir crates/zune-inflate/fuzz roundtrip_zlib fuzz-corpus/inflate -j2 -- -timeout=10s -max_total_time=120
- name: Normal Fuzz testing.
run: cargo +nightly fuzz run --fuzz-dir zune-inflate/fuzz decode_buffer fuzz-corpus/inflate -j2 -- -timeout=10s -max_total_time=120
run: cargo +nightly fuzz run --fuzz-dir crates/zune-inflate/fuzz decode_buffer fuzz-corpus/inflate -j2 -- -timeout=10s -max_total_time=120
2 changes: 1 addition & 1 deletion .github/workflows/fuzz_hdr.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,5 +32,5 @@ jobs:
run: cargo install cargo-fuzz

- name: Normal Fuzz testing.
run: cargo +nightly fuzz run --fuzz-dir zune-hdr/fuzz decode_buffer -j2 -- -timeout=10s test-images/hdr -max_total_time=120
run: cargo +nightly fuzz run --fuzz-dir crates/zune-hdr/fuzz decode_buffer -j2 -- -timeout=10s test-images/hdr -max_total_time=120

2 changes: 1 addition & 1 deletion .github/workflows/fuzz_png.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: cargo install cargo-fuzz

- name: Normal Fuzz testing.
run: cargo +nightly fuzz run --fuzz-dir zune-png/fuzz decode_buffer fuzz-corpus/png -j2 -- -timeout=10s -max_total_time=120
run: cargo +nightly fuzz run --fuzz-dir crates/zune-png/fuzz decode_buffer fuzz-corpus/png -j2 -- -timeout=10s -max_total_time=120
2 changes: 1 addition & 1 deletion .github/workflows/fuzz_ppm.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: cargo install cargo-fuzz

- name: Normal Fuzz testing.
run: cargo +nightly fuzz run --fuzz-dir zune-ppm/fuzz decode_buffer -j2 -- -timeout=10s -max_total_time=60
run: cargo +nightly fuzz run --fuzz-dir crates/zune-ppm/fuzz decode_buffer -j2 -- -timeout=10s -max_total_time=60
2 changes: 1 addition & 1 deletion .github/workflows/fuzz_psd.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: cargo install cargo-fuzz

- name: Normal Fuzz testing.
run: cargo +nightly fuzz run --fuzz-dir zune-psd/fuzz decode_buffer test-images/psd -j2 -- -timeout=10s -max_total_time=60
run: cargo +nightly fuzz run --fuzz-dir crates/zune-psd/fuzz decode_buffer test-images/psd -j2 -- -timeout=10s -max_total_time=60
2 changes: 1 addition & 1 deletion .github/workflows/fuzz_qoi.yml
Original file line number Diff line number Diff line change
Expand Up @@ -32,4 +32,4 @@ jobs:
run: cargo install cargo-fuzz

- name: QOI Fuzz testing.
run: cargo +nightly fuzz run --fuzz-dir zune-qoi/fuzz decode_buffer test-images/qoi/ -j2 -- -timeout=10s -max_total_time=60
run: cargo +nightly fuzz run --fuzz-dir crates/zune-qoi/fuzz decode_buffer test-images/qoi/ -j2 -- -timeout=10s -max_total_time=60
34 changes: 17 additions & 17 deletions Cargo.lock

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

6 changes: 3 additions & 3 deletions benchmarks/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,13 +7,13 @@ edition = "2021"

[dev-dependencies]
# QOI benchmarks
zune-qoi = { version = "0.1.0", path = "../crates/zune-qoi" }
zune-qoi = { path = "../crates/zune-qoi" }
rapid-qoi = "0.6.1"

# deflate benchmarks
flate2 = { version = "1.0.25", default-features = false, features = ["zlib-ng-compat"] }
libdeflater = "1.19.0"
zune-inflate = { version = "0.2.51", path = "../crates/zune-inflate" }
zune-inflate = { path = "../crates/zune-inflate" }

# png benchmarks
png = { version = "0.17.8-rc" }
Expand All @@ -24,7 +24,7 @@ zune-png = { path = "../crates/zune-png" }
# JPEG benchmarks
mozjpeg = "0.10.5"
jpeg-decoder = "0.3.0"
zune-jpeg = { version = "0.3.12", path = "../crates/zune-jpeg" }
zune-jpeg = { path = "../crates/zune-jpeg" }

#other format
zune-image = { path = "../crates/zune-image", features = ["all"] }
Expand Down
6 changes: 3 additions & 3 deletions crates/zune-bin/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,9 @@ edition = "2021"

[dependencies]
log = "0.4.17"
zune-image = { version = "0.1.0", path = "../zune-image", features = ["all"] }
zune-core = { path = "../zune-core", version = "0.2.1" }
memmap2 = "0.5.7"
zune-image = { version = "0.4.0", path = "../zune-image", features = ["all"] }
zune-core = { path = "../zune-core", version = "0.4" }
memmap2 = "0.9.0"
serde_json = "1.0.93"
serde = "1.0.152"

Expand Down
2 changes: 1 addition & 1 deletion crates/zune-bmp/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
log = ["zune-core/log"]

[dependencies]
zune-core = { version = "0.2", path = "../zune-core" }
zune-core = { version = "0.4", path = "../zune-core" }
2 changes: 1 addition & 1 deletion crates/zune-farbfeld/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ license = "MIT OR Apache-2.0 OR Zlib"
log = ["zune-core/log"]

[dependencies]
zune-core = { path = "../zune-core", version = "0.2" }
zune-core = { path = "../zune-core", version = "0.4" }
2 changes: 1 addition & 1 deletion crates/zune-hdr/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -9,4 +9,4 @@ edition = "2021"
log = ["zune-core/log"]

[dependencies]
zune-core = { version = "0.2.13", path = "../zune-core", default-features = false }
zune-core = { version = "0.4.0", path = "../zune-core", default-features = false }
52 changes: 10 additions & 42 deletions crates/zune-hdr/fuzz/Cargo.lock

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

2 changes: 1 addition & 1 deletion crates/zune-image/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ all = ["image_formats", "serde-support", "metadata", "threads", "filters", "simd
[dependencies]
zune-imageprocs = { path = "../zune-imageprocs", optional = true }
# Core primitives
zune-core = { path = "../zune-core", version = "0.2" }
zune-core = { path = "../zune-core", version = "0.4" }
# Images
zune-png = { path = "../zune-png", optional = true }
zune-jpeg = { path = "../zune-jpeg", optional = true }
Expand Down
2 changes: 1 addition & 1 deletion crates/zune-imageprocs/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
zune-core = { path = "../zune-core", version = "0.2" }
zune-core = { path = "../zune-core", version = "0.4" }


[features]
Expand Down
2 changes: 1 addition & 1 deletion crates/zune-inflate/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "zune-inflate"
version = "0.4.0"
version = "0.2.0"
edition = "2021"
description = "A heavily optimized deflate decompressor in Pure Rust"
exclude = ["tests/"]
Expand Down
2 changes: 1 addition & 1 deletion crates/zune-jpeg/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ log = ["zune-core/log"]
default = ["x86", "neon", "std"]

[dependencies]
zune-core = { path = "../zune-core", version = "0.2" }
zune-core = { path = "../zune-core", version = "0.4" }


[dev-dependencies]
Expand Down
2 changes: 1 addition & 1 deletion crates/zune-jpegxl/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ edition = "2021"
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
zune-core = { version = "0.2.1", path = "../zune-core" }
zune-core = { version = "0.4", path = "../zune-core" }

[features]
threads = []
Expand Down
2 changes: 1 addition & 1 deletion crates/zune-png/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ log = ["zune-core/log"]
default = ["sse", "std"]

[dependencies]
zune-core = { path = "../zune-core", version = "0.2" }
zune-core = { path = "../zune-core", version = "0.4" }
zune-inflate = { path = "../zune-inflate", version = "0.2", default-features = false, features = ["zlib"] }

[dev-dependencies]
Expand Down
Loading

0 comments on commit a1843b6

Please sign in to comment.