about summary refs log tree commit diff stats
path: root/crates/libmpv2/Cargo.toml
blob: d92a012e3cd486f042cca601aa1aaade6596a6c2 (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
# 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>.

[workspace]
members = ["libmpv2-sys"]

[package]
name = "libmpv2"
version = "4.0.0"
edition = "2021"
license = "LGPL-2.1"
readme = "README.md"
description = "Libmpv abstraction that's easy to use and can play next to all codecs and containers"
keywords = ["media", "playback", "mpv", "libmpv"]


[dependencies]
libmpv2-sys = { path = "libmpv2-sys", version = "4.0.0" }
log = "0.4.22"
thiserror = "1.0.63"

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

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