oysteikt
56d7c942db
commands: remove toplevel Request/Response enums
...
This also exposes all the command types as public API
2026-06-21 15:39:23 +09:00
oysteikt
644020ea7f
flake.lock: bump, Cargo.{toml,lock}: update inputs, fmt, lint
Build and test / build (push) Successful in 1m12s
Build and test / docs (push) Successful in 1m20s
Build and test / check (push) Successful in 1m32s
Build and test / test (push) Successful in 1m47s
2026-02-07 02:25:34 +09:00
oysteikt
4dfb4d2150
commands/tag_types_disable: remove u32 import
Build and test / check (push) Successful in 1m4s
Build and test / build (push) Successful in 1m6s
Build and test / docs (push) Successful in 1m10s
Build and test / test (push) Successful in 1m46s
2026-01-10 01:22:17 +09:00
oysteikt
a89ad2f93e
commands: constructors for all commands
Build and test / build (push) Successful in 1m12s
Build and test / check (push) Successful in 1m22s
Build and test / test (push) Successful in 1m57s
Build and test / docs (push) Successful in 2m16s
2026-01-10 00:12:15 +09:00
oysteikt
4356258312
commands: store SubtypeParserError expected type as &str
2025-12-08 17:48:44 +09:00
oysteikt
b1bbd4ebb1
commands: use new error variants for a few more commands
2025-12-08 17:30:47 +09:00
oysteikt
44b0e6aa85
commands: use new error variants for various commands
2025-12-08 15:54:37 +09:00
oysteikt
670cdc7ba5
Preallocate a few more response parsers
2025-12-08 14:27:42 +09:00
oysteikt
8f3dff30a8
cargo fmt + clippy
2025-12-08 13:28:45 +09:00
oysteikt
d123a53828
commands: strip lifetimes
2025-12-08 12:30:19 +09:00
oysteikt
1311b8118f
commands: add newline at end of all command serializers
2025-12-08 05:49:54 +09:00
oysteikt
e8f2cd2034
make ResponseParserError self-contained, impl thiserror
2025-12-08 05:31:13 +09:00
oysteikt
72923b1549
common/types: flatten to types
2025-12-08 04:14:32 +09:00
oysteikt
874fac6ea5
cargo clippy
2025-12-08 01:08:58 +09:00
oysteikt
7e749a4f46
commands/stickernamestypes: add missing derive for response
2025-12-08 01:05:24 +09:00
oysteikt
525b913f70
commands/listplaylist: add note about format
2025-12-08 01:03:23 +09:00
oysteikt
9e3b2d0465
commands/seekcur: fix parser
2025-12-08 01:03:11 +09:00
oysteikt
58f7c01082
commands: fix request enum conversion for unmount
2025-12-08 00:52:27 +09:00
oysteikt
5823e95eb9
commands: add response types for multiple commands
2025-12-08 00:44:37 +09:00
oysteikt
c0cc63503a
commands/currentsong: implement response parser
2025-12-08 00:29:00 +09:00
oysteikt
b8aaac544d
commands/listplaylistinfo: fix response type
2025-12-08 00:28:38 +09:00
oysteikt
2a97914c93
commands: split Command trait into req + res parts
2025-12-05 22:54:01 +09:00
oysteikt
6191e10028
cargo fmt
2025-12-07 21:39:57 +09:00
oysteikt
fc5cbe8024
commands/listplaylistinfo: add response type
2025-12-07 21:33:01 +09:00
oysteikt
c811094908
commands: implement all database selection responses
2025-12-07 21:33:02 +09:00
oysteikt
a2c143a461
commands/listplaylists: implement
2025-12-07 20:53:45 +09:00
oysteikt
d811840ea1
commands: parse to Self::Request
2025-12-05 22:00:11 +09:00
oysteikt
ef753e199a
common: don't expose types directly
2025-12-05 20:59:19 +09:00
oysteikt
4f8fa26cd4
common/types: add better alias for MountPath
2025-11-25 04:27:20 +09:00
oysteikt
5117ed319d
common/types: add better alias for AudioOutputId
2025-11-25 04:22:30 +09:00
oysteikt
69f79197aa
common/types: add type for ChannelName
2025-11-25 04:13:32 +09:00
oysteikt
f778d85a3c
common/types: add better alias for PlaylistVersion
2025-11-25 04:02:03 +09:00
oysteikt
e56b9ab6c4
common/types: add type for Sort
2025-11-25 03:56:01 +09:00
oysteikt
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
oysteikt
bdbecf3e8f
commands: fix request de/serialization for list
2025-11-24 22:00:42 +09:00
oysteikt
162b6f95f1
commands: remove some fixed TODOs
2025-11-24 21:59:42 +09:00
oysteikt
e45d8c054b
commands: split response tokenizer into separate file
2025-11-24 19:16:09 +09:00
oysteikt
f3ad2fc73a
Implement a proper request tokenizer
2025-11-24 14:18:30 +09:00
oysteikt
63dfa1b255
WIP: serialize requests
2025-11-21 16:48:55 +09:00
oysteikt
fccb32ad6d
commands: implement response parser for lsinfo
2025-11-21 16:13:09 +09:00
oysteikt
8967f38ffa
cargo fmt + clippy
2025-11-21 16:02:15 +09:00
oysteikt
030449128a
commands: implement response parser for tagtypes available
2025-11-21 15:16:30 +09:00
oysteikt
cbf4e9d382
commands: implement response parser for protocol
2025-11-21 15:14:43 +09:00
oysteikt
79d974f9c0
commands: implement response parser for protocol available
2025-11-21 15:12:21 +09:00
oysteikt
95604aa20d
commands: return runtime errors on invalid property names
2025-11-21 15:07:50 +09:00
oysteikt
ebfe1311b9
commands: create result struct for readmessages
2025-11-21 14:55:57 +09:00
oysteikt
d3e7fac92c
commands: precalculate capacity and use iterators
2025-11-21 14:44:17 +09:00
oysteikt
5eb08d852a
commands: make better use of expect_property_type!
2025-11-21 14:38:09 +09:00
oysteikt
d66c555a26
commands: implement response parser for listmounts
2025-11-21 14:32:06 +09:00
oysteikt
a58ed698e7
commands: implement common traits for responses
2025-11-21 14:18:44 +09:00