media-decode 0.3.0

Multi-format media decoding: thumbnails, metadata, PDF text/render, video frames.
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 = "media-decode"
version = "0.3.0"
build = false
exclude = [
    "demo",
    "*.dll",
    "auto-thumbnail",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Multi-format media decoding: thumbnails, metadata, PDF text/render, video frames."
homepage = "https://github.com/siminx/media-decode"
readme = "README.md"
license = "MIT"
repository = "https://github.com/siminx/media-decode"
resolver = "2"

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

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

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

[dependencies.ag-psd]
version = "0.2"
optional = true

[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