Commit Graph

83 Commits

Author SHA1 Message Date
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
bdbecf3e8f commands: fix request de/serialization for list 2025-11-24 22:00:42 +09:00
162b6f95f1 commands: remove some fixed TODOs 2025-11-24 21:59:42 +09:00
e45d8c054b commands: split response tokenizer into separate file 2025-11-24 19:16:09 +09:00
d5445466ff filter: implement basic parser 2025-11-24 17:38:37 +09:00
56bdeb3e0a common/types: case insensitive tags 2025-11-24 17:36:48 +09:00
f3ad2fc73a Implement a proper request tokenizer 2025-11-24 14:18:30 +09:00
63dfa1b255 WIP: serialize requests 2025-11-21 16:48:55 +09:00
21f98c5808 filter: implement fmt::Display 2025-11-21 18:36:54 +09:00
e4e7530902 common/types: implement serialization helpers for Tag 2025-11-21 18:36:18 +09:00
726ea92e1b common/types: implement fmt::Display 2025-11-21 16:59:39 +09:00
0bdfdf149e Cargo.toml: bump deps 2025-11-21 16:15:16 +09:00
07fdf4b631 flake.lock: bump 2025-11-21 16:14:13 +09:00
fccb32ad6d commands: implement response parser for lsinfo 2025-11-21 16:13:09 +09:00
8967f38ffa cargo fmt + clippy 2025-11-21 16:02:15 +09:00
72247d3a9d filter: add unit tests 2025-11-21 15:49:27 +09:00
030449128a commands: implement response parser for tagtypes available 2025-11-21 15:16:30 +09:00
cbf4e9d382 commands: implement response parser for protocol 2025-11-21 15:14:43 +09:00
79d974f9c0 commands: implement response parser for protocol available 2025-11-21 15:12:21 +09:00
95604aa20d commands: return runtime errors on invalid property names 2025-11-21 15:07:50 +09:00
ebfe1311b9 commands: create result struct for readmessages 2025-11-21 14:55:57 +09:00
d3e7fac92c commands: precalculate capacity and use iterators 2025-11-21 14:44:17 +09:00
5eb08d852a commands: make better use of expect_property_type! 2025-11-21 14:38:09 +09:00
d66c555a26 commands: implement response parser for listmounts 2025-11-21 14:32:06 +09:00
a58ed698e7 commands: implement common traits for responses 2025-11-21 14:18:44 +09:00
fdd1d358cd commands: implement response parser for decoders 2025-11-21 14:14:25 +09:00
799d37bc0b commands: implement response parser for listneighbors 2025-11-21 14:04:12 +09:00
cdad776df0 commands: implement response parser for outputs 2025-11-21 13:55:10 +09:00
a261bdbf89 common/types: add debug assertions for range orders 2025-10-13 15:35:56 +09:00
dcd8444a6a flake.lock: bump, Cargo.toml: update inputs 2025-10-12 23:01:17 +09:00
29f4e0519e commands: fix clippy warnings about confusing elided lifetimes 2025-10-12 22:59:50 +09:00
6d9e9cd468 flake.lock: bump, Cargo.toml: update inputs 2025-09-20 18:05:21 +02:00
dcfe30e0fd .gitignore: ignore Cargo.lock
This is okay because this is a library
2025-09-20 18:03:35 +02:00
708849e87f flake.lock: bump 2025-08-03 05:01:37 +02:00
ae0fbaaa15 .gitea/workflows: update gitea-web target host 2025-08-03 04:50:01 +02:00
8e10db40bd Cargo.toml: update deps 2025-07-11 20:37:16 +02:00
aba16b3216 flake.lock: bump 2025-07-11 20:36:58 +02:00
fe840015f4 flake.nix: add cargo-edit to devshell 2025-07-11 20:36:50 +02:00
a1cea09979 flake.lock: bump 2025-05-07 10:43:24 +02:00
de1cdd59ac Cargo.lock: bump 2025-05-05 10:15:00 +02:00
1e352d4413 flake.lock: bump 2025-05-05 10:13:44 +02:00
88e3deebc8 Rust edition 2024 2025-02-26 16:39:34 +01:00
98d1b1eebb common/types: move stuff from requests to types 2025-02-23 19:46:28 +01:00