Commit Graph

7 Commits

Author SHA1 Message Date
Oystein Kristoffer Tveit cb0921144d
rework error messages 2024-05-03 22:29:25 +02:00
Oystein Kristoffer Tveit 7eec34ce00
split property parsing from event parsing:
Build and test / build (pull_request) Successful in 1m55s Details
Build and test / check (pull_request) Successful in 1m52s Details
Build and test / docs (pull_request) Successful in 2m21s Details
Build and test / test (pull_request) Successful in 4m9s Details
Build and test / check (push) Successful in 1m55s Details
Build and test / build (push) Successful in 1m57s Details
Build and test / docs (push) Successful in 2m43s Details
Build and test / test (push) Successful in 5m33s Details
High-level properties are now optional, considering there are about a
thousand of them to parse. The high-level properties are a few chosen
ones that I suspect might be useful for most people, with catch-all enum
variants for the less common ones.
2024-05-02 21:16:23 +02:00
Oystein Kristoffer Tveit f5ca2ebde9
add more tests, fix event/command response race condition
Build and test / check (pull_request) Successful in 1m56s Details
Build and test / build (pull_request) Successful in 1m57s Details
Build and test / docs (pull_request) Successful in 2m30s Details
Build and test / test (pull_request) Successful in 4m0s Details
Build and test / check (push) Successful in 1m55s Details
Build and test / build (push) Successful in 1m56s Details
Build and test / docs (push) Successful in 3m2s Details
Build and test / test (push) Successful in 3m59s Details
2024-05-01 23:45:42 +02:00
Oystein Kristoffer Tveit 64bf743c6c
clean: add docstrings, move a few things around 2024-05-01 22:22:45 +02:00
Oystein Kristoffer Tveit 3be7b2bda6
cargo fmt + clippy
Build and test / check (push) Successful in 1m55s Details
Build and test / build (push) Successful in 1m59s Details
Build and test / test (push) Successful in 2m30s Details
2024-04-30 02:13:57 +02:00
Oystein Kristoffer Tveit deb45a4570
Make entire project async
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.
2024-04-19 00:59:22 +02:00
Oystein Kristoffer Tveit f5c9674b78
Misc: refactor + serde serialization derives
- Split content into more files
- Refactor TypeHandler impls
- Add serialization traits to public structs/enums
2024-04-16 23:11:19 +02:00