Commit Graph

24 Commits

Author SHA1 Message Date
3dd4deecd0 commands: use new error variants for a few more commands 2025-12-08 17:30:47 +09:00
3c8cd670d3 commands: use new error variants for various commands 2025-12-08 15:54:37 +09:00
c4db0bbb06 cargo fmt + clippy 2025-12-08 13:28:45 +09:00
c5917c9827 commands: strip lifetimes 2025-12-08 12:30:19 +09:00
e7aee6ce10 commands: add newline at end of all command serializers 2025-12-08 05:49:54 +09:00
612fa4db11 make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
f470f19c2c common/types: flatten to types 2025-12-08 04:14:32 +09:00
43b11fae81 commands: add response types for multiple commands 2025-12-08 00:44:37 +09:00
7da07ce869 commands: split Command trait into req + res parts 2025-12-05 22:54:01 +09:00
d811840ea1 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
ef753e199a common: don't expose types directly 2025-12-05 20:59:19 +09:00
f778d85a3c common/types: add better alias for PlaylistVersion 2025-11-25 04:02:03 +09:00
e56b9ab6c4 common/types: add type for Sort 2025-11-25 03:56:01 +09:00
59a347f610 response_tokenizer: rewrite
This commit contains a rewrite of the response tokenizer, which
introduces lazy parsing of the response, handling of binary data, some
tests, as well as just generally more robustness against errors.
2025-11-24 23:49:27 +09:00
e45d8c054b commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
f3ad2fc73a Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
63dfa1b255 WIP: serialize requests 2025-11-21 16:48:55 +09:00
95604aa20d commands: return runtime errors on invalid property names 2025-11-21 15:07:50 +09:00
a58ed698e7 commands: implement common traits for responses 2025-11-21 14:18:44 +09:00
29f4e0519e commands: fix clippy warnings about confusing elided lifetimes 2025-10-12 22:59:50 +09:00
88e3deebc8 Rust edition 2024 2025-02-26 16:39:34 +01:00
05ae68de0b commands: deduplicate logic in macros, add more macros 2025-02-23 19:16:58 +01:00
b4dfdb9b8b commands: use real Filter type 2024-12-13 17:05:08 +01:00
a7da84bc9c Implement some more commands 2024-11-30 17:12:49 +01:00