about summary refs log tree commit diff stats
path: root/crates/libmpv2/Cargo.toml
blob: a8a4ed671b4dc8df9f2c30964dc06637ca4dc70b (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# yt - A fully featured command line YouTube client
#
# Copyright (C) 2024 Benedikt Peetz <benedikt.peetz@b-peetz.de>
# SPDX-License-Identifier: GPL-3.0-or-later
#
# This file is part of Yt.
#
# You should have received a copy of the License along with this program.
# If not, see <https://www.gnu.org/licenses/gpl-3.0.txt>.

[package]
name = "libmpv2"
description = "Libmpv abstraction that's easy to use and can play next to all codecs and containers"
keywords = ["media", "playback", "mpv", "libmpv"]
readme = "README.md"
categories = []
version.workspace = true
edition.workspace = true
authors.workspace = true
license.workspace = true
repository.workspace = true
rust-version.workspace = true
publish = false

[dependencies]
libmpv2-sys = { path = "libmpv2-sys" }
thiserror = "2.0.7"
log.workspace = true

[dev-dependencies]
crossbeam = "0.8"
sdl2 = "0.37.0"

[features]
default = ["protocols", "render"]
protocols = []                    # Enable custom protocol callbacks
render = []                       # Enable custom rendering