utopia-image 0.1.0

Image previews: decode, crop by gravity or focal point, borders, rounded corners, opacity, rotation and background, then encode to JPEG, PNG, GIF, WebP or AVIF.
Documentation
# THIS FILE IS AUTOMATICALLY GENERATED BY CARGO
#
# When uploading crates to the registry Cargo will automatically
# "normalize" Cargo.toml files for maximal compatibility
# with all versions of Cargo and also rewrite `path` dependencies
# to registry (e.g., crates.io) dependencies.
#
# If you are reading this file be aware that the original Cargo.toml
# will likely look very different (and much more reasonable).
# See Cargo.toml.orig for the original contents.

[package]
edition = "2024"
rust-version = "1.97"
name = "utopia-image"
version = "0.1.0"
build = false
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Image previews: decode, crop by gravity or focal point, borders, rounded corners, opacity, rotation and background, then encode to JPEG, PNG, GIF, WebP or AVIF."
readme = "README.md"
license = "BSD-3-Clause"
repository = "https://github.com/appwrite/appwrite"

[package.metadata.utopia]
category = "utilities"
php-sync = "00c1817a3dc2e54e687b958178837cf4ad06a552"

[features]
default = ["ravif"]
libheif = ["dep:libheif-rs"]
libwebp = ["dep:webp"]
ravif = ["image/avif"]

[lib]
name = "utopia_image"
path = "src/lib.rs"

[[test]]
name = "budget"
path = "tests/budget.rs"

[dependencies.fast_image_resize]
version = "6"
features = ["std"]
default-features = false

[dependencies.gif]
version = "0.14"

[dependencies.image]
version = "0.25.10"
features = [
    "jpeg",
    "png",
    "gif",
    "webp",
]
default-features = false

[dependencies.image-webp]
version = "0.2"

[dependencies.jpeg-encoder]
version = "0.7"

[dependencies.kamadak-exif]
version = "0.6"

[dependencies.libheif-rs]
version = "3"
features = ["v1_17"]
optional = true
default-features = false

[dependencies.php-std]
version = "0.1.0"
package = "utopia-php-std"

[dependencies.png]
version = "0.18"

[dependencies.skrifa]
version = "0.50.0"

[dependencies.thiserror]
version = "2"

[dependencies.webp]
version = "0.3"
optional = true
default-features = false

[dependencies.zeno]
version = "0.3"