pict-rs/client-examples
asonix a71812930e Add tests with system deps
These new tests each spin up their own instance of pict-rs. This allows
for configuring pict-rs differently depending on the test that needs to
be run. It also opens the possibility of writing tests with object
storage and postgres requirements in the future.

So far there's pretty minimal test coverage. Just uploading,
downloading, deleting, and checking validation errors for images and
animations. In the future, tests need to be added for videos, many
variations of the process endpoint, and the admin endpoints.

The new tests are locked behind a configuration option (not a feature)
called `system_deps`. They can be enabled by passing

`RUSTFLAGS='--cfg system_deps'`

This is to prevent tests from running and failing in environments where
the exiftool, imagemagick, and ffmpeg binaries are not present.

This builds imagemagick from source for a few reasons
1. binaries for imagemagick 7 are not available for debian 12
2. the imagemagick appimage does not support avif files
3. the imagemagick appimage is limited to x86_64
2025-03-28 10:30:03 -05:00
..
bash bash example: Add more duplicate uploads 2022-04-03 12:55:16 -05:00
html Add folder for client examples 2020-06-10 09:07:14 -05:00
javascript Add folder for client examples 2020-06-10 09:07:14 -05:00
python Purge image 2020-06-16 18:13:22 -05:00
awoo.webp Add tests with system deps 2025-03-28 10:30:03 -05:00
cat.jpg Purge image 2020-06-16 18:13:22 -05:00
earth.avif Add tests with system deps 2025-03-28 10:30:03 -05:00
earth.gif Don't use image crate to validate gifs 2020-06-11 11:46:00 -05:00
scene.webp Purge image 2020-06-16 18:13:22 -05:00
test.png Add folder for client examples 2020-06-10 09:07:14 -05:00