Commit Graph

132 Commits

Author SHA1 Message Date
291aa6877c WIP 2025-12-08 18:43:44 +09:00
c48a8adcdc .gitea/workflows: run on debian-latest-slim
Some checks failed
Build and test / build (push) Failing after 19s
Build and test / check (push) Failing after 19s
Build and test / test (push) Failing after 23s
Build and test / docs (push) Failing after 15s
2025-12-08 18:43:29 +09:00
1f1e7fbb53 .gitea/workflows: update actions/checkout: v4 -> v6 2025-12-08 18:43:24 +09:00
7ec268094d commands: store SubtypeParserError expected type as &str
All checks were successful
Build and test / check (push) Successful in 58s
Build and test / build (push) Successful in 1m9s
Build and test / docs (push) Successful in 1m11s
Build and test / test (push) Successful in 2m26s
2025-12-08 17:48:44 +09:00
afa690366f commands: use new error variants for a few more commands
All checks were successful
Build and test / check (push) Successful in 1m2s
Build and test / build (push) Successful in 1m9s
Build and test / docs (push) Successful in 1m25s
Build and test / test (push) Successful in 1m38s
2025-12-08 17:40:07 +09:00
02ba7f2684 lib: fix doccomment url rendering
All checks were successful
Build and test / build (push) Successful in 1m4s
Build and test / check (push) Successful in 1m23s
Build and test / test (push) Successful in 1m52s
Build and test / docs (push) Successful in 1m16s
2025-12-08 16:27:55 +09:00
44903f2ce0 commands: add request parser error variant for keyword without value
Some checks failed
Build and test / check (push) Successful in 1m5s
Build and test / build (push) Successful in 1m6s
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
2025-12-08 16:25:43 +09:00
9f50d61ad5 commands: clearly define how arguments are counted in request error 2025-12-08 16:25:40 +09:00
788a01ce83 Clean up misc. module doccomments
All checks were successful
Build and test / build (push) Successful in 1m10s
Build and test / check (push) Successful in 1m0s
Build and test / test (push) Successful in 2m15s
Build and test / docs (push) Successful in 1m19s
2025-12-08 16:16:34 +09:00
f5451b6c2f filter: document misc
All checks were successful
Build and test / check (push) Successful in 57s
Build and test / build (push) Successful in 1m10s
Build and test / docs (push) Successful in 1m13s
Build and test / test (push) Successful in 2m23s
2025-12-08 16:09:55 +09:00
2de18cdbdb .gitea/workflows: don't error on clippy warnings
All checks were successful
Build and test / check (push) Successful in 1m4s
Build and test / build (push) Successful in 1m29s
Build and test / test (push) Successful in 1m48s
Build and test / docs (push) Successful in 2m13s
2025-12-08 15:59:10 +09:00
23bfd0c4a7 .gitea/workflows: don't run with all features
Some checks failed
Build and test / build (push) Successful in 1m6s
Build and test / check (push) Failing after 1m23s
Build and test / test (push) Successful in 1m54s
Build and test / docs (push) Successful in 1m23s
2025-12-08 15:57:40 +09:00
3342293bf2 commands: use new error variants for various commands
Some checks failed
Build and test / build (push) Failing after 1m1s
Build and test / check (push) Failing after 1m25s
Build and test / test (push) Failing after 1m25s
Build and test / docs (push) Failing after 1m0s
2025-12-08 15:54:37 +09:00
2b3ab7389d Preallocate a few more response parsers
Some checks failed
Build and test / check (push) Failing after 58s
Build and test / build (push) Failing after 1m23s
Build and test / test (push) Failing after 1m28s
Build and test / docs (push) Failing after 1m1s
2025-12-08 14:27:42 +09:00
f80d36e962 commands: add and fix variants for RequestParserError
Some checks failed
Build and test / build (push) Failing after 1m0s
Build and test / check (push) Failing after 1m21s
Build and test / test (push) Failing after 1m18s
Build and test / docs (push) Failing after 1m48s
2025-12-08 14:02:39 +09:00
86edd4c5b3 filter: flatten module
Some checks failed
Build and test / check (push) Failing after 1m2s
Build and test / test (push) Failing after 1m17s
Build and test / build (push) Failing after 1m23s
Build and test / docs (push) Failing after 1m9s
2025-12-08 13:32:18 +09:00
a7a8ceedeb cargo fmt + clippy
Some checks failed
Build and test / build (push) Failing after 1m5s
Build and test / check (push) Failing after 1m17s
Build and test / test (push) Failing after 1m21s
Build and test / docs (push) Failing after 1m13s
2025-12-08 13:28:45 +09:00
7ce0d68021 commands: extend parser errors 2025-12-08 13:28:17 +09:00
b5cb4677ee Remove a few unused type aliases
Some checks failed
Build and test / check (push) Failing after 59s
Build and test / build (push) Failing after 1m1s
Build and test / test (push) Failing after 1m26s
Build and test / docs (push) Failing after 1m49s
2025-12-08 13:11:09 +09:00
38faf99de7 *_tokenizer: add module doccomment 2025-12-08 13:10:31 +09:00
69f252bad8 commands: force external users to interact with requests and responses through Command trait
Some checks failed
Build and test / check (push) Failing after 42s
Build and test / build (push) Failing after 1m0s
Build and test / docs (push) Failing after 1m7s
Build and test / test (push) Failing after 1m45s
2025-12-08 13:07:11 +09:00
c177c089a3 commands: add command executor directly on Command trait
Some checks failed
Build and test / check (push) Failing after 41s
Build and test / build (push) Failing after 59s
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
2025-12-08 13:05:30 +09:00
d964e7857b examples/mpd-client: add some code
Some checks failed
Build and test / docs (push) Has been cancelled
Build and test / test (push) Has been cancelled
Build and test / build (push) Has been cancelled
Build and test / check (push) Has been cancelled
2025-12-08 13:00:46 +09:00
8430592bee commands: strip lifetimes 2025-12-08 12:30:19 +09:00
78cfc09d60 commands: add newline at end of all command serializers 2025-12-08 12:13:05 +09:00
a7b764ad0f client: init
Some checks failed
Build and test / check (push) Failing after 59s
Build and test / build (push) Failing after 1m7s
Build and test / test (push) Failing after 1m50s
Build and test / docs (push) Failing after 1m5s
2025-12-08 05:32:49 +09:00
f3e6fe13df MpdError: impl thiserror 2025-12-08 05:31:43 +09:00
4f8f5db620 make ResponseParserError self-contained, impl thiserror 2025-12-08 05:31:13 +09:00
1e39640508 common/types: flatten to types
Some checks failed
Build and test / check (push) Failing after 47s
Build and test / build (push) Failing after 1m3s
Build and test / docs (push) Failing after 1m1s
Build and test / test (push) Failing after 1m48s
2025-12-08 04:14:32 +09:00
b388bc727b commands: document module 2025-12-08 04:07:20 +09:00
9f859e1df1 response: add some notes about the errors
Some checks failed
Build and test / build (push) Successful in 1m7s
Build and test / check (push) Failing after 1m8s
Build and test / docs (push) Successful in 1m11s
Build and test / test (push) Successful in 2m20s
2025-12-08 01:46:14 +09:00
4bb5702eba cargo clippy
Some checks failed
Build and test / build (push) Successful in 1m3s
Build and test / check (push) Failing after 1m24s
Build and test / test (push) Successful in 1m50s
Build and test / docs (push) Successful in 1m14s
2025-12-08 01:08:58 +09:00
955fdbcff1 commands/stickernamestypes: add missing derive for response 2025-12-08 01:05:24 +09:00
322c8c8fc3 commands/listplaylist: add note about format
Some checks failed
Build and test / build (push) Successful in 1m10s
Build and test / check (push) Failing after 1m25s
Build and test / test (push) Successful in 1m36s
Build and test / docs (push) Successful in 1m17s
2025-12-08 01:03:23 +09:00
93afaf1bde commands/seekcur: fix parser 2025-12-08 01:03:11 +09:00
c915c67f08 commands: fix request enum conversion for unmount 2025-12-08 00:52:27 +09:00
813ffac614 flake.lock: bump inputs
Some checks failed
Build and test / check (push) Failing after 58s
Build and test / build (push) Successful in 1m29s
Build and test / test (push) Successful in 1m49s
Build and test / docs (push) Successful in 1m12s
2025-12-08 00:45:53 +09:00
b0bc2752cc commands: add response types for multiple commands
Some checks failed
Build and test / build (push) Successful in 1m3s
Build and test / test (push) Has been cancelled
Build and test / docs (push) Has been cancelled
Build and test / check (push) Has been cancelled
2025-12-08 00:44:37 +09:00
07e9161137 commands/currentsong: implement response parser
Some checks failed
Build and test / build (push) Successful in 1m6s
Build and test / check (push) Failing after 1m23s
Build and test / test (push) Successful in 1m38s
Build and test / docs (push) Successful in 2m4s
2025-12-08 00:29:00 +09:00
f2977f1ba9 commands/listplaylistinfo: fix response type 2025-12-08 00:28:38 +09:00
b0b4134829 commands: split Command trait into req + res parts
Some checks failed
Build and test / check (push) Failing after 1m2s
Build and test / build (push) Successful in 1m8s
Build and test / test (push) Successful in 2m23s
Build and test / docs (push) Successful in 1m24s
2025-12-08 00:07:37 +09:00
c1dbdd4644 cargo fmt
Some checks failed
Build and test / check (push) Failing after 58s
Build and test / build (push) Successful in 1m6s
Build and test / docs (push) Successful in 1m10s
Build and test / test (push) Successful in 2m19s
2025-12-07 21:40:50 +09:00
64c94d6e89 commands/listplaylistinfo: add response type
Some checks failed
Build and test / check (push) Failing after 44s
Build and test / build (push) Successful in 1m0s
Build and test / docs (push) Successful in 1m25s
Build and test / test (push) Successful in 3m0s
2025-12-07 21:33:01 +09:00
4d11df5ad1 commands: implement all database selection responses 2025-12-07 21:24:49 +09:00
0cacbe2229 common/types: add db selection print types 2025-12-07 21:22:35 +09:00
7bbe1c4ced types/tag: make orderable 2025-12-07 21:22:34 +09:00
83918fd432 commands/listplaylists: implement 2025-12-07 21:22:33 +09:00
07e1c76aa9 commands: parse to Self::Request
Some checks failed
Build and test / check (push) Failing after 43s
Build and test / build (push) Successful in 1m2s
Build and test / docs (push) Successful in 1m12s
Build and test / test (push) Successful in 1m44s
2025-12-05 22:00:11 +09:00
d84e653db2 filter: export all types from inner module 2025-12-05 21:00:01 +09:00
7834bbd956 common: don't expose types directly 2025-12-05 20:59:19 +09:00