media-pp 0.1.6

A small, GStreamer-flavored media pipeline library built on FFmpeg.
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.88"
name = "media-pp"
version = "0.1.6"
build = false
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "A small, GStreamer-flavored media pipeline library built on FFmpeg."
documentation = "https://docs.rs/media-pp"
readme = "README.md"
keywords = [
    "ffmpeg",
    "video",
    "audio",
    "pipeline",
    "streaming",
]
categories = [
    "multimedia::video",
    "multimedia::audio",
    "multimedia::encoding",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/hash1018/media-pp"

[package.metadata.docs.rs]
default-target = "x86_64-unknown-linux-gnu"
targets = []
features = [
    "ort",
    "webrtc",
]
rustdoc-args = [
    "--cfg",
    "docsrs",
]

[features]
d3d11 = [
    "dep:windows",
    "dep:ab_glyph",
]
d3d12 = ["dep:windows"]
dxgi-capture = [
    "dep:windows",
    "d3d11",
]
ort = [
    "dep:ort",
    "dep:ndarray",
]
wasapi-capture = ["dep:windows"]
wasapi-renderer = ["dep:windows"]
webrtc = ["dep:str0m"]

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

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

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

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

[dependencies.arc-swap]
version = "1"

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

[dependencies.crossbeam-queue]
version = "0.3"

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

[dependencies.ndarray]
version = "0.17"
optional = true

[dependencies.ort]
version = "2.0.0-rc.13"
optional = true

[dependencies.str0m]
version = "0.21"
features = ["rust-crypto"]
optional = true
default-features = false

[dependencies.thiserror]
version = "2"

[dependencies.time]
version = "0.3"
features = ["local-offset"]

[dependencies.tracing-appender]
version = "0.2"

[dev-dependencies.log]
version = "0.4"

[target."cfg(windows)".dependencies.ab_glyph]
version = "0.2"
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.62"
features = [
    "Win32_Foundation",
    "Win32_Graphics_Direct3D",
    "Win32_Graphics_Direct3D_Fxc",
    "Win32_Graphics_Direct3D11",
    "Win32_Graphics_Direct3D12",
    "Win32_Graphics_Dxgi",
    "Win32_Graphics_Dxgi_Common",
    "Win32_Graphics_Gdi",
    "Win32_Devices_FunctionDiscovery",
    "Win32_Media_Audio",
    "Win32_Media_KernelStreaming",
    "Win32_Media_Multimedia",
    "Win32_System_Com",
    "Win32_System_Com_StructuredStorage",
    "Win32_System_Variant",
    "Win32_UI_Shell_PropertiesSystem",
]
optional = true