Commit Graph

83 Commits

Author SHA1 Message Date
oysteikt 0925a40ea6 common: don't expose types directly 2026-01-09 13:25:32 +09:00
oysteikt ed2b79d0dd commands: add docs for Command trait 2026-01-09 13:25:32 +09:00
oysteikt 9fbf192a1b common/types: add better alias for MountPath 2026-01-09 13:25:32 +09:00
oysteikt 10310a5248 common/types: add better alias for AudioOutputId 2026-01-09 13:25:31 +09:00
oysteikt 1a2ea5327b common/types: add type for ChannelName 2026-01-09 13:25:31 +09:00
oysteikt c833143496 common/types: add better alias for PlaylistVersion 2026-01-09 13:25:31 +09:00
oysteikt ef0ba275de common/types: add type for Sort 2026-01-09 13:25:31 +09:00
oysteikt ed1b58deb1 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.
2026-01-09 13:25:30 +09:00
oysteikt bb1b206a83 commands: fix request de/serialization for list 2026-01-09 13:25:30 +09:00
oysteikt 61fed9032d commands: remove some fixed TODOs 2026-01-09 13:25:30 +09:00
oysteikt ea8a0dbf72 commands: split response tokenizer into separate file 2026-01-09 13:25:29 +09:00
oysteikt f481fd6636 filter: implement basic parser 2026-01-09 13:25:29 +09:00
oysteikt 774c03490a common/types: case insensitive tags 2026-01-09 13:25:29 +09:00
oysteikt 5c745ed67a Implement a proper request tokenizer 2026-01-09 13:25:28 +09:00
oysteikt ed82218d4e WIP: serialize requests 2026-01-09 13:25:28 +09:00
oysteikt a4b0795121 filter: implement fmt::Display 2026-01-09 13:25:28 +09:00
oysteikt 107aa67c11 common/types: implement serialization helpers for Tag 2026-01-09 13:25:28 +09:00
oysteikt 51e3477a7e common/types: implement fmt::Display 2026-01-09 13:25:27 +09:00
oysteikt 5e9a12c293 Cargo.toml: bump deps 2026-01-09 13:25:27 +09:00
oysteikt e7d4920717 flake.lock: bump 2026-01-09 13:25:27 +09:00
oysteikt dfce62e875 commands: implement response parser for lsinfo 2026-01-09 13:25:26 +09:00
oysteikt 8d28ce3ef9 cargo fmt + clippy 2026-01-09 13:25:26 +09:00
oysteikt b4991fa748 filter: add unit tests 2026-01-09 13:25:26 +09:00
oysteikt 0e6fbaebb2 commands: implement response parser for tagtypes available 2026-01-09 13:25:25 +09:00
oysteikt 48d10d01d2 commands: implement response parser for protocol 2026-01-09 13:25:25 +09:00
oysteikt 835f1830e7 commands: implement response parser for protocol available 2026-01-09 13:25:25 +09:00
oysteikt e08f95c641 commands: return runtime errors on invalid property names 2026-01-09 13:25:24 +09:00
oysteikt 0a91a27e2b commands: create result struct for readmessages 2026-01-09 13:25:24 +09:00
oysteikt 52aac81620 commands: precalculate capacity and use iterators 2026-01-09 13:25:24 +09:00
oysteikt 89e5b8453d commands: make better use of expect_property_type! 2026-01-09 13:25:24 +09:00
oysteikt 609e516ef5 commands: implement response parser for listmounts 2026-01-09 13:25:23 +09:00
oysteikt b2986ce910 commands: implement common traits for responses 2026-01-09 13:25:23 +09:00
oysteikt 0e977d7e19 commands: implement response parser for decoders 2026-01-09 13:25:23 +09:00
oysteikt acdc553e5f commands: implement response parser for listneighbors 2026-01-09 13:25:23 +09:00
oysteikt 3e0034e0e7 commands: implement response parser for outputs 2026-01-09 13:25:22 +09:00
oysteikt a7c3b4bdda common/types: add debug assertions for range orders 2026-01-09 13:25:22 +09:00
oysteikt a6b3dbc278 flake.lock: bump, Cargo.toml: update inputs 2026-01-09 13:25:22 +09:00
oysteikt daaf314633 commands: fix clippy warnings about confusing elided lifetimes 2026-01-09 13:25:22 +09:00
oysteikt f909da771e flake.lock: bump, Cargo.toml: update inputs 2026-01-09 13:25:21 +09:00
oysteikt 8950a98cad .gitignore: ignore Cargo.lock
This is okay because this is a library
2026-01-09 13:25:21 +09:00
oysteikt d2d8321a03 flake.lock: bump 2026-01-09 13:25:21 +09:00
oysteikt 56045ed2cf .gitea/workflows: update gitea-web target host 2026-01-09 13:25:21 +09:00
oysteikt dda95357d9 Cargo.toml: update deps 2026-01-09 13:25:20 +09:00
oysteikt cac7dd1e9e flake.lock: bump 2026-01-09 13:25:20 +09:00
oysteikt 073e4970be flake.nix: add cargo-edit to devshell 2026-01-09 13:25:20 +09:00
oysteikt d953e2b547 flake.lock: bump 2026-01-09 13:25:20 +09:00
oysteikt ef56bf2d0c Cargo.lock: bump 2026-01-09 13:25:19 +09:00
oysteikt 2d556d1078 flake.lock: bump 2026-01-09 13:25:19 +09:00
oysteikt 8f5ad84c00 Rust edition 2024 2026-01-09 13:25:19 +09:00
oysteikt 05983bf687 common/types: move stuff from requests to types 2026-01-09 13:25:19 +09:00