Commit Graph

31 Commits

Author SHA1 Message Date
dbc5b2b5e4 Remove a few unused type aliases 2025-12-08 13:11:09 +09:00
7ae1249f09 commands: force external users to interact with requests and responses through Command trait 2025-12-08 13:07:11 +09:00
b9f0a5b0a7 commands: add command executor directly on Command trait 2025-12-08 13:05:30 +09:00
8853d94656 examples/mpd-client: add some code 2025-12-08 13:00:46 +09:00
f819595ca2 commands: strip lifetimes 2025-12-08 12:30:19 +09:00
0f203b962a commands: add newline at end of all command serializers 2025-12-08 05:49:54 +09:00
6cfd6eba2c make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
183174ae33 commands: document module 2025-12-08 04:07:20 +09:00
e24451900f commands: split Command trait into req + res parts 2025-12-05 22:54:01 +09:00
380071b66c cargo fmt 2025-12-07 21:39:57 +09:00
09925a1df5 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
1b4fe23ce9 commands: add docs for Command trait 2025-11-25 05:28:58 +09:00
02e292ffd7 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
47e42a3472 commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
74c86dd5b9 Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
e0e7509be7 WIP: serialize requests 2025-11-21 16:48:55 +09:00
f6203aaa08 common/types: move stuff from requests to types 2025-02-23 19:46:28 +01:00
09f4c17033 commands: deduplicate logic in macros, add more macros 2025-02-23 19:16:58 +01:00
7b94b908ab Cargo fmt 2025-02-23 16:40:06 +01:00
fc9f0bd876 commands: move ResponseAttributes parser out of Command 2025-02-23 16:33:34 +01:00
8db3978e4c Implement some more commands 2024-12-14 00:14:02 +01:00
8d9440f999 Implement some more commands 2024-12-13 18:20:03 +01:00
aa1706d620 commands: add a few TODOs 2024-12-13 17:08:59 +01:00
d0153b26e1 commands: verify key uniqueness for ResponseAttributes -> HashMap 2024-12-13 17:06:28 +01:00
7b4bf573d0 Add more commands 2024-12-01 20:06:01 +01:00
145f53606d Add existing command parsers to the main request parser 2024-12-01 19:16:44 +01:00
61cdfec0b7 Implement some more commands 2024-11-30 17:12:49 +01:00
64abf8d3c3 commands: handle some more response parsing 2024-11-30 03:28:22 +01:00
b42bf03db3 commands: make macros usable without use statements 2024-11-30 02:28:10 +01:00
b76608af28 commands: use different datastructure for response attrs 2024-11-30 02:18:06 +01:00
1607622b70 Continued development 2024-11-30 01:57:45 +01:00