Avoid a circular dependency on image

epel10
Benjamin A. Beasley 4 months ago
parent 9989cb96f4
commit 6ec5e4f131

@ -58,6 +58,15 @@ use the "default" feature of the "%{crate}" crate.
find . -type f \( -name '*.md' -o -name '*.rs' \) -execdir dos2unix --keepdate '{}' '+'
# Do not depend on bencher; it is needed only for benchmarks.
tomcli set Cargo.toml del dev-dependencies.bencher
# Avoid a circular dependency on image.
tomcli set Cargo.toml del dev-dependencies.image
# These are the tests and examples that would have required the image crate.
rm tests/across_compression.rs
rm examples/6_extract_mip_map_pngs.rs
rm examples/1b_convert_exr_to_png.rs
rm examples/7_crop_alpha_rgba.rs
rm examples/7_crop_alpha_any_image.rs
rm examples/5b_extract_exr_layers_as_pngs.rs
%generate_buildrequires
%cargo_generate_buildrequires

@ -10,6 +10,15 @@ prep.post = [
"find . -type f \\( -name '*.md' -o -name '*.rs' \\) -execdir dos2unix --keepdate '{}' '+'",
"# Do not depend on bencher; it is needed only for benchmarks.",
"tomcli set Cargo.toml del dev-dependencies.bencher",
"# Avoid a circular dependency on image.",
"tomcli set Cargo.toml del dev-dependencies.image",
"# These are the tests and examples that would have required the image crate.",
"rm tests/across_compression.rs",
"rm examples/6_extract_mip_map_pngs.rs",
"rm examples/1b_convert_exr_to_png.rs",
"rm examples/7_crop_alpha_rgba.rs",
"rm examples/7_crop_alpha_any_image.rs",
"rm examples/5b_extract_exr_layers_as_pngs.rs",
]
[tests]

Loading…
Cancel
Save