tauri-plugin-video 0.3.0

Native video playback for Tauri using platform media engines
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 = "2021"
rust-version = "1.85"
name = "tauri-plugin-video"
version = "0.3.0"
authors = ["Air contributors"]
build = "build.rs"
links = "tauri-plugin-video"
exclude = [
    "/.github",
    "/.agents",
    "/.codebase-memory",
    "/.impeccable",
    "/AGENTS.md",
    "/CONTRIBUTING.md",
    "/adapter",
    "/android/.gradle",
    "/android/build",
    "/dist-js",
    "/docs",
    "/examples",
    "/guest-js",
    "/node_modules",
    "/package-lock.json",
    "/package.json",
    "/qualification",
    "/rollup.config.ts",
    "/runtime",
    "/scripts",
    "/tsconfig.json",
]
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
description = "Native video playback for Tauri using platform media engines"
homepage = "https://github.com/get-air/tauri-video-plugin"
documentation = "https://docs.rs/tauri-plugin-video"
readme = "README.md"
keywords = [
    "tauri",
    "video",
    "gstreamer",
    "mkv",
    "android-tv",
]
categories = [
    "multimedia::video",
    "api-bindings",
]
license = "MIT OR Apache-2.0"
repository = "https://github.com/get-air/tauri-video-plugin"

[features]
default = ["gstreamer-runtime"]
gstreamer-runtime = [
    "dep:gio",
    "dep:gstreamer",
    "dep:gstreamer-video",
]
mpv-runtime = [
    "dep:libc",
    "dep:libmpv2",
]

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

[dependencies.parking_lot]
version = "0.12"

[dependencies.serde]
version = "1.0"
features = ["derive"]

[dependencies.tauri]
version = "2.11.5"

[dependencies.thiserror]
version = "2"

[dependencies.tracing]
version = "0.1"

[build-dependencies.tauri-plugin]
version = "2.6.3"
features = ["build"]

[target.'cfg(target_os = "android")'.dependencies.jni]
version = "0.21.1"

[target.'cfg(target_os = "linux")'.dependencies.gio]
version = "0.22"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.gstreamer]
version = "0.25.3"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.gstreamer-video]
version = "0.25.3"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.gtk]
version = "0.18.2"

[target.'cfg(target_os = "linux")'.dependencies.libc]
version = "0.2"
optional = true

[target.'cfg(target_os = "linux")'.dependencies.libmpv2]
version = "5.0.3"
optional = true
default-features = true

[target."cfg(windows)".dependencies.gio]
version = "0.22"
optional = true

[target."cfg(windows)".dependencies.gstreamer]
version = "0.25.3"
optional = true

[target."cfg(windows)".dependencies.gstreamer-video]
version = "0.25.3"
optional = true

[target."cfg(windows)".dependencies.windows]
version = "0.61"
features = [
    "Win32_Foundation",
    "Win32_UI_HiDpi",
    "Win32_UI_WindowsAndMessaging",
]