h7x4
deb45a4570
This moves all communication with Mpv's unix socket into another tokio task, and uses message passing through clonable mpsc channels to receive commands to execute, and to send responses.
27 lines
778 B
TOML
27 lines
778 B
TOML
[package]
|
|
name = "mpvipc"
|
|
version = "1.3.0"
|
|
authors = ["Jonas Frei <freijon@pm.me>"]
|
|
description = "A small library which provides bindings to control existing mpv instances through sockets."
|
|
license = "GPL-3.0"
|
|
homepage = "https://gitlab.com/mpv-ipc/mpvipc"
|
|
repository = "https://gitlab.com/mpv-ipc/mpvipc"
|
|
documentation = "https://docs.rs/mpvipc/"
|
|
edition = "2021"
|
|
rust-version = "1.75"
|
|
|
|
[dependencies]
|
|
serde_json = "1.0.104"
|
|
log = "0.4.19"
|
|
serde = { version = "1.0.197", features = ["derive"] }
|
|
tokio = { version = "1.37.0", features = ["sync", "macros", "rt", "net"] }
|
|
tokio-util = { version = "0.7.10", features = ["codec"] }
|
|
futures = "0.3.30"
|
|
|
|
[dev-dependencies]
|
|
env_logger = "0.10.0"
|
|
tokio = { version = "1.37.0", features = ["rt-multi-thread"] }
|
|
|
|
[lib]
|
|
doctest = false
|