unbundle 2.0.1

Unbundle media files - extract still frames, audio tracks, and subtitles from video files
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 = "unbundle"
version = "2.0.1"
authors = ["Skander Jeddi <skanderjeddi@fastmail.com>"]
build = false
exclude = [
    "tests/fixtures/*.mp4",
    "tests/fixtures/*.mkv",
    "target/",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Unbundle media files - extract still frames, audio tracks, and subtitles from video files"
readme = "README.md"
keywords = [
    "video",
    "audio",
    "ffmpeg",
    "extraction",
    "media",
]
categories = [
    "multimedia",
    "multimedia::video",
    "multimedia::audio",
]
license = "MIT"
repository = "https://github.com/skanderjeddi/unbundle"

[package.metadata.docs.rs]
all-features = true
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
async-tokio = [
    "tokio",
    "tokio-stream",
    "futures-core",
]
default = []
full = [
    "async-tokio",
    "parallel",
    "hw-accel",
    "scene-detection",
]
hw-accel = []
parallel = [
    "rayon",
    "crossbeam-channel",
]
scene-detection = []

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

[[example]]
name = "async_extraction"
path = "examples/async_extraction.rs"
required-features = ["async-tokio"]

[[example]]
name = "extract_audio"
path = "examples/extract_audio.rs"

[[example]]
name = "extract_audio_segment"
path = "examples/extract_audio_segment.rs"

[[example]]
name = "extract_frames"
path = "examples/extract_frames.rs"

[[example]]
name = "frame_iterator"
path = "examples/frame_iterator.rs"

[[example]]
name = "hw_acceleration"
path = "examples/hw_acceleration.rs"
required-features = ["hw-accel"]

[[example]]
name = "metadata"
path = "examples/metadata.rs"

[[example]]
name = "parallel_extraction"
path = "examples/parallel_extraction.rs"
required-features = ["parallel"]

[[example]]
name = "pixel_formats"
path = "examples/pixel_formats.rs"

[[example]]
name = "progress"
path = "examples/progress.rs"

[[example]]
name = "remux"
path = "examples/remux.rs"

[[example]]
name = "scene_detection"
path = "examples/scene_detection.rs"
required-features = ["scene-detection"]

[[example]]
name = "subtitles"
path = "examples/subtitles.rs"

[[example]]
name = "thumbnail_grid"
path = "examples/thumbnail_grid.rs"

[[example]]
name = "validate"
path = "examples/validate.rs"

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[dependencies.crossbeam-channel]
version = "0.5"
optional = true

[dependencies.ffmpeg-next]
version = "8"

[dependencies.ffmpeg-sys-next]
version = "8"

[dependencies.futures-core]
version = "0.3"
optional = true

[dependencies.image]
version = "0.25"

[dependencies.rayon]
version = "1.11"
optional = true

[dependencies.thiserror]
version = "2.0"

[dependencies.tokio]
version = "1"
features = [
    "rt",
    "sync",
    "macros",
]
optional = true

[dependencies.tokio-stream]
version = "0.1"
optional = true

[dev-dependencies.criterion]
version = "0.5"

[dev-dependencies.image]
version = "0.25"

[dev-dependencies.tempfile]
version = "3.0"

[dev-dependencies.tokio]
version = "1"
features = [
    "rt-multi-thread",
    "macros",
]

[dev-dependencies.tokio-stream]
version = "0.1"