auto-thumbnail 0.2.0

Converts various file formats into thumbnail image.
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"
name = "auto-thumbnail"
version = "0.2.0"
build = false
exclude = [
    "demo",
    "*.dll",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Converts various file formats into thumbnail image."
homepage = "https://github.com/siminx/auto-thumbnail"
readme = "README.md"
license = "MIT"
repository = "https://github.com/siminx/auto-thumbnail"

[features]
audio = ["dep:lofty"]
default = ["full"]
full = [
    "image",
    "video",
    "pdf",
    "svg",
    "raw",
    "audio",
    "office",
]
image = []
office = ["dep:zip"]
pdf = ["dep:pdfium-render"]
raw = ["dep:rawler"]
svg = ["dep:resvg"]
video = [
    "dep:video-rs",
    "dep:ffmpeg-next",
]

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

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

[dependencies.anyhow]
version = "1"

[dependencies.ffmpeg-next]
version = "8.1"
optional = true

[dependencies.ico]
version = "0.5"

[dependencies.image]
version = "0.25"

[dependencies.image-extras]
version = "0.1"
features = [
    "pcx",
    "icns",
    "dds",
]
default-features = false

[dependencies.jxl-oxide]
version = "0.12.6"
features = ["image"]
default-features = false

[dependencies.lofty]
version = "0.25"
optional = true

[dependencies.log]
version = "0.4"

[dependencies.openjpeg2-pure-rs]
version = "0.1"

[dependencies.oxipng]
version = "10.2"

[dependencies.pdfium-render]
version = "0.9"
optional = true

[dependencies.rawler]
version = "0.7"
optional = true

[dependencies.resvg]
version = "0.48"
optional = true

[dependencies.strum]
version = "0.28"

[dependencies.strum_macros]
version = "0.28"

[dependencies.thiserror]
version = "2"

[dependencies.tika-magic]
version = "0.2"

[dependencies.video-rs]
version = "0.11"
features = ["ndarray"]
optional = true

[dependencies.webp]
version = "0.3"

[dependencies.zip]
version = "8.6"
optional = true