Commit Graph

125 Commits

Author SHA1 Message Date
febe651158 Clean up misc. module doccomments 2025-12-08 16:15:12 +09:00
39e6b237af filter: document misc 2025-12-08 16:09:18 +09:00
65017ad6b3 .gitea/workflows: don't error on clippy warnings 2025-12-08 15:59:10 +09:00
bc915d1ca7 .gitea/workflows: don't run with all features 2025-12-08 15:57:40 +09:00
44b0e6aa85 commands: use new error variants for various commands 2025-12-08 15:54:37 +09:00
670cdc7ba5 Preallocate a few more response parsers 2025-12-08 14:27:42 +09:00
0675d9d984 commands: add and fix variants for RequestParserError 2025-12-08 13:55:25 +09:00
27b1c889df filter: flatten module 2025-12-08 13:32:18 +09:00
8f3dff30a8 cargo fmt + clippy 2025-12-08 13:28:45 +09:00
04e8c1c144 commands: extend parser errors 2025-12-08 13:28:17 +09:00
2582ffac2a Remove a few unused type aliases 2025-12-08 13:11:09 +09:00
1bd2e4f0fb *_tokenizer: add module doccomment 2025-12-08 13:10:31 +09:00
818f89859f commands: force external users to interact with requests and responses through Command trait 2025-12-08 13:07:11 +09:00
f2e2eb271a commands: add command executor directly on Command trait 2025-12-08 13:05:30 +09:00
10fb43fa64 examples/mpd-client: add some code 2025-12-08 13:00:46 +09:00
d123a53828 commands: strip lifetimes 2025-12-08 12:30:19 +09:00
1311b8118f commands: add newline at end of all command serializers 2025-12-08 05:49:54 +09:00
9f74b219d3 client: init 2025-12-08 05:32:49 +09:00
143dc48019 MpdError: impl thiserror 2025-12-08 05:31:43 +09:00
e8f2cd2034 make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
72923b1549 common/types: flatten to types 2025-12-08 04:14:32 +09:00
3faf01355f commands: document module 2025-12-08 04:07:20 +09:00
4c07b966b7 response: add some notes about the errors 2025-12-08 01:46:14 +09:00
edd9fd0958 LICENSE: init 2025-12-08 01:15:23 +09:00
874fac6ea5 cargo clippy 2025-12-08 01:08:58 +09:00
7e749a4f46 commands/stickernamestypes: add missing derive for response 2025-12-08 01:05:24 +09:00
525b913f70 commands/listplaylist: add note about format 2025-12-08 01:03:23 +09:00
9e3b2d0465 commands/seekcur: fix parser 2025-12-08 01:03:11 +09:00
58f7c01082 commands: fix request enum conversion for unmount 2025-12-08 00:52:27 +09:00
b3b7d97fee flake.lock: bump inputs 2025-12-08 00:45:53 +09:00
5823e95eb9 commands: add response types for multiple commands 2025-12-08 00:44:37 +09:00
c0cc63503a commands/currentsong: implement response parser 2025-12-08 00:29:00 +09:00
b8aaac544d commands/listplaylistinfo: fix response type 2025-12-08 00:28:38 +09:00
2a97914c93 commands: split Command trait into req + res parts 2025-12-05 22:54:01 +09:00
6191e10028 cargo fmt 2025-12-07 21:39:57 +09:00
fc5cbe8024 commands/listplaylistinfo: add response type 2025-12-07 21:33:01 +09:00
c811094908 commands: implement all database selection responses 2025-12-07 21:33:02 +09:00
267fd0e2e9 types/tag: make orderable 2025-12-07 20:53:45 +09:00
b97b650f64 common/types: add db selection print types 2025-12-07 21:21:58 +09:00
a2c143a461 commands/listplaylists: implement 2025-12-07 20:53:45 +09:00
d811840ea1 commands: parse to Self::Request 2025-12-05 22:00:11 +09:00
925eb1941a filter: export all types from inner module 2025-12-05 21:00:01 +09:00
ef753e199a common: don't expose types directly 2025-12-05 20:59:19 +09:00
cdb3b2d58c commands: add docs for Command trait 2025-11-25 05:28:58 +09:00
4f8fa26cd4 common/types: add better alias for MountPath 2025-11-25 04:27:20 +09:00
5117ed319d common/types: add better alias for AudioOutputId 2025-11-25 04:22:30 +09:00
69f79197aa common/types: add type for ChannelName 2025-11-25 04:13:32 +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