mediapulse 0.1.9

A self-contained native media player built around mpv
# 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.85"
name = "mediapulse"
version = "0.1.9"
authors = ["useless-rs"]
build = "build.rs"
exclude = [
    "binaries/*",
    "gen/**",
    "tauri.linux.conf.json",
    "tauri.macos.conf.json",
    "tauri.windows.conf.json",
]
publish = true
autolib = false
autobins = false
autoexamples = false
autotests = false
autobenches = false
default-run = "mediapulse"
description = "A self-contained native media player built around mpv"
readme = "README.md"
keywords = [
    "mediapulse",
    "mpv",
    "player",
    "multimedia",
]
categories = [
    "multimedia::video",
    "command-line-utilities",
]
license = "GPL-3.0-or-later"
repository = "https://github.com/useless-rs/MediaPulse"

[features]
default = ["libmpv"]
libmpv = ["mediapulse-core/libmpv"]
sidecar = ["mediapulse-core/sidecar"]

[lib]
name = "mediapulse_lib"
crate-type = [
    "staticlib",
    "cdylib",
    "rlib",
]
path = "src/lib.rs"

[[bin]]
name = "mediapulse"
path = "src/main.rs"

[[bin]]
name = "mp"
path = "src/bin/mp.rs"

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

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

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

[dependencies.libc]
version = "0.2.189"

[dependencies.mediapulse-core]
version = "0.1.1"
default-features = false

[dependencies.raw-window-handle]
version = "0.6.2"

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

[dependencies.serde_json]
version = "1"

[dependencies.tauri]
version = "2"
features = ["macos-private-api"]

[dependencies.tauri-plugin-dialog]
version = "2"

[dependencies.tauri-plugin-opener]
version = "2"

[dependencies.thiserror]
version = "2.0.17"

[dependencies.yoke-derive]
version = "=0.8.2"

[dev-dependencies.tauri]
version = "2"
features = [
    "macos-private-api",
    "test",
]

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

[build-dependencies.tauri-build]
version = "2"
features = []

[lints.clippy]
all = "warn"
pedantic = "warn"

[lints.rust]
unsafe_code = "warn"