otf-pixels 0.2.0

A streaming, demand-driven image processing engine.
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.85"
name = "otf-pixels"
version = "0.2.0"
authors = ["The OpenTF Authors"]
build = false
exclude = ["tests"]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A streaming, demand-driven image processing engine."
readme = "README.md"
keywords = [
    "image",
    "streaming",
    "pipeline",
    "resize",
    "codec",
]
categories = ["multimedia::images"]
license = "Apache-2.0"
repository = "https://github.com/Open-Tech-Foundation/Pixels"

[features]
avif = ["dep:otf-pixels-codec-avif"]
default = [
    "raw",
    "png",
    "gif",
    "jpeg",
    "jpeg-progressive",
    "tiff",
    "webp",
    "avif",
]
gif = ["dep:otf-pixels-codec-gif"]
jpeg = ["dep:otf-pixels-codec-jpeg"]
jpeg-progressive = [
    "jpeg",
    "otf-pixels-codec-jpeg?/progressive",
]
png = ["dep:otf-pixels-codec-png"]
raw = ["dep:otf-pixels-codec-raw"]
tiff = ["dep:otf-pixels-codec-tiff"]
webp = ["dep:otf-pixels-codec-webp"]

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

[[bench]]
name = "ops"
path = "benches/ops.rs"
harness = false

[[bench]]
name = "scaling"
path = "benches/scaling.rs"
harness = false

[[bench]]
name = "thumbnail"
path = "benches/thumbnail.rs"
harness = false

[dependencies.otf-pixels-codec-avif]
version = "0.2.0"
optional = true

[dependencies.otf-pixels-codec-gif]
version = "0.2.0"
optional = true

[dependencies.otf-pixels-codec-jpeg]
version = "0.2.0"
optional = true
default-features = false

[dependencies.otf-pixels-codec-png]
version = "0.2.0"
optional = true

[dependencies.otf-pixels-codec-raw]
version = "0.2.0"
optional = true

[dependencies.otf-pixels-codec-tiff]
version = "0.2.0"
optional = true

[dependencies.otf-pixels-codec-webp]
version = "0.2.0"
optional = true

[dependencies.otf-pixels-core]
version = "0.2.0"

[dependencies.otf-pixels-ops]
version = "0.2.0"

[dev-dependencies.fast_image_resize]
version = "6"

[dev-dependencies.image]
version = "0.25"
default-features = false

[lints.clippy]
expect_used = "deny"
indexing_slicing = "warn"
panic = "deny"
unwrap_used = "deny"

[lints.rust]
missing_docs = "deny"
unsafe_code = "forbid"