oysteikt
c57634e1ba
common/types: add type for Sort
2026-01-09 13:31:19 +09:00
oysteikt
23563cfb9b
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:31:18 +09:00
oysteikt
507a540c45
commands: fix request de/serialization for list
2026-01-09 13:31:18 +09:00
oysteikt
efe98d1177
commands: remove some fixed TODOs
2026-01-09 13:31:18 +09:00
oysteikt
bbd0e71861
commands: split response tokenizer into separate file
2026-01-09 13:31:17 +09:00
oysteikt
a284a40b7a
filter: implement basic parser
2026-01-09 13:31:17 +09:00
oysteikt
fcf6a69249
common/types: case insensitive tags
2026-01-09 13:31:17 +09:00
oysteikt
abc1fcc01b
Implement a proper request tokenizer
2026-01-09 13:31:17 +09:00
oysteikt
181b437b80
WIP: serialize requests
2026-01-09 13:31:16 +09:00
oysteikt
d6a8bc2fe1
filter: implement fmt::Display
2026-01-09 13:31:16 +09:00
oysteikt
8a482ccede
common/types: implement serialization helpers for Tag
2026-01-09 13:31:16 +09:00
oysteikt
592d96e5ed
common/types: implement fmt::Display
2026-01-09 13:31:15 +09:00
oysteikt
f929f32ddd
commands: implement response parser for lsinfo
2026-01-09 13:31:15 +09:00
oysteikt
f65760314f
cargo fmt + clippy
2026-01-09 13:31:14 +09:00
oysteikt
31e9ded99b
filter: add unit tests
2026-01-09 13:31:14 +09:00
oysteikt
55b1d99b2a
commands: implement response parser for tagtypes available
2026-01-09 13:31:14 +09:00
oysteikt
b576b7903f
commands: implement response parser for protocol
2026-01-09 13:31:14 +09:00
oysteikt
95a399864b
commands: implement response parser for protocol available
2026-01-09 13:31:14 +09:00
oysteikt
02fb57038c
commands: return runtime errors on invalid property names
2026-01-09 13:31:13 +09:00
oysteikt
8b6a189558
commands: create result struct for readmessages
2026-01-09 13:31:13 +09:00
oysteikt
ad7a779af2
commands: precalculate capacity and use iterators
2026-01-09 13:31:13 +09:00
oysteikt
0937a3ba4c
commands: make better use of expect_property_type!
2026-01-09 13:31:12 +09:00
oysteikt
baa3abd610
commands: implement response parser for listmounts
2026-01-09 13:31:12 +09:00
oysteikt
f9b590472d
commands: implement common traits for responses
2026-01-09 13:31:12 +09:00
oysteikt
5e13a4be16
commands: implement response parser for decoders
2026-01-09 13:31:11 +09:00
oysteikt
56da3736f0
commands: implement response parser for listneighbors
2026-01-09 13:31:11 +09:00
oysteikt
ec05a550b6
commands: implement response parser for outputs
2026-01-09 13:31:11 +09:00
oysteikt
880afa7bc3
common/types: add debug assertions for range orders
2026-01-09 13:31:11 +09:00
oysteikt
90d336fd93
commands: fix clippy warnings about confusing elided lifetimes
2026-01-09 13:31:10 +09:00
oysteikt
ee89663f67
Rust edition 2024
2026-01-09 13:31:07 +09:00
oysteikt
b5576d901f
common/types: move stuff from requests to types
2026-01-09 13:31:06 +09:00
oysteikt
9ff0b0264f
commands: deduplicate logic in macros, add more macros
2026-01-09 13:31:06 +09:00
oysteikt
97c163734a
commands: implement some more response parsers
2026-01-09 13:31:06 +09:00
oysteikt
9181974f1e
Cargo fmt
2026-01-09 13:31:06 +09:00
oysteikt
4cab15a59f
commands: move ResponseAttributes parser out of Command
2026-01-09 13:31:05 +09:00
oysteikt
bad7fcbb88
common: move types into separate files
2026-01-09 13:31:05 +09:00
oysteikt
e9fc3a2a23
commands: fix some syntax errors reporting literals
2026-01-09 13:31:04 +09:00
oysteikt
13f4ca4563
Implement some more commands
2026-01-09 13:31:04 +09:00
oysteikt
32dfc497a7
commands: add missing debug asserts
2026-01-09 13:31:04 +09:00
oysteikt
7dca46caf8
commands: add some TODOs for assumptions made about syntax
2026-01-09 13:31:04 +09:00
oysteikt
53976c522e
response: remove leftover response types, add error codes
2026-01-09 13:31:02 +09:00
oysteikt
a80ca0e0f4
Implement some more commands
2026-01-09 13:30:23 +09:00
oysteikt
66018b1313
commands: add a few TODOs
2026-01-09 13:30:23 +09:00
oysteikt
95b6f73684
format
2026-01-09 13:30:23 +09:00
oysteikt
33cbf46739
commands: verify key uniqueness for ResponseAttributes -> HashMap
2026-01-09 13:30:23 +09:00
oysteikt
5e3e2df1e1
commands: use real Filter type
2026-01-09 13:30:22 +09:00
oysteikt
1334765426
Add more commands
2026-01-09 13:30:21 +09:00
oysteikt
5b2b97611e
Add existing command parsers to the main request parser
2026-01-09 13:30:21 +09:00
oysteikt
2ca3cd40bc
Implement some more commands
2026-01-09 13:30:20 +09:00
oysteikt
8461542735
prefer unimplemented! for unimplemented functions
2026-01-09 13:30:20 +09:00