Commit Graph

21 Commits

Author SHA1 Message Date
e59d04e830 commands: strip lifetimes 2026-01-09 13:25:39 +09:00
46803e0a30 commands: add newline at end of all command serializers 2026-01-09 13:25:39 +09:00
cb1cf47ff8 make ResponseParserError self-contained, impl thiserror 2026-01-09 13:25:38 +09:00
8f8e69ae56 common/types: flatten to types 2026-01-09 13:25:38 +09:00
80c36d033d commands: add response types for multiple commands 2026-01-09 13:25:36 +09:00
ffb1911b89 commands: split Command trait into req + res parts 2026-01-09 13:25:35 +09:00
21831a2c68 commands: parse to Self::Request 2026-01-09 13:25:33 +09:00
0925a40ea6 common: don't expose types directly 2026-01-09 13:25:32 +09:00
c833143496 common/types: add better alias for PlaylistVersion 2026-01-09 13:25:31 +09:00
ef0ba275de common/types: add type for Sort 2026-01-09 13:25:31 +09:00
ed1b58deb1 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.
2026-01-09 13:25:30 +09:00
ea8a0dbf72 commands: split response tokenizer into separate file 2026-01-09 13:25:29 +09:00
5c745ed67a Implement a proper request tokenizer 2026-01-09 13:25:28 +09:00
ed82218d4e WIP: serialize requests 2026-01-09 13:25:28 +09:00
e08f95c641 commands: return runtime errors on invalid property names 2026-01-09 13:25:24 +09:00
b2986ce910 commands: implement common traits for responses 2026-01-09 13:25:23 +09:00
daaf314633 commands: fix clippy warnings about confusing elided lifetimes 2026-01-09 13:25:22 +09:00
8f5ad84c00 Rust edition 2024 2026-01-09 13:25:19 +09:00
84abf7a9fa commands: deduplicate logic in macros, add more macros 2026-01-09 13:25:18 +09:00
4f6392e376 commands: use real Filter type 2024-12-13 17:16:16 +01:00
08104b3537 Implement some more commands 2024-12-01 18:31:34 +01:00