libmoo

Zig library for encoding and decoding Roon WebSocket message

Commits at 1dfdc5ed9175d59e2036cf23e7b6654abf0fd606

  1. 1dfdc5ed Workaround package consumer downloads clap and websocket packages <https://github.com/ziglang/zig/issues/21525> Zig build system cannot determine if the dependency is required for the current step or not (for now.) For this case, moving the whole step (option) to individual build script is possible because the step (option) is not supposed to be depended by other packages. Shota FUJI authored at Shota FUJI comitted at
  2. 2f073dbe Change request_id from i64 to u64 No benefit for having negative numbers. Shota FUJI authored at Shota FUJI comitted at
  3. 8802c467 Allow passing JSON stringify options to JSONBody Roon API heavily uses optional fields, probably for size saving. Shota FUJI authored at Shota FUJI comitted at
  4. 281d6324 Allow passing JSON parse option to JSONBody ignore_unknown_fields is frequently used option in real world. Shota FUJI authored at Shota FUJI comitted at
  5. d0bb276e Export parser contexts Without these, users have to parse at one-go. Shota FUJI authored at Shota FUJI comitted at
  6. d5c33dd6 Support for body-less messages Shota FUJI authored at Shota FUJI comitted at
  7. fad07b77 Header generation method for bodies Most of my usecase only requires content-type/length and request id. Shota FUJI authored at Shota FUJI comitted at
  8. 7e0b4f68 HTML docs generation command Shota FUJI authored at Shota FUJI comitted at
  9. 3f85a2e4 Add and improve doc comments Shota FUJI authored at Shota FUJI comitted at
  10. 5fdb7e74 Example Zig program Shota FUJI authored at Shota FUJI comitted at
  11. d229fc47 Encoder functions Shota FUJI authored at Shota FUJI comitted at
  12. f2cc18d9 Move parser context out of data structs Presence of "context" field and such prevented me from writing serializer (builder, encoder) and clean C API. I'm still not sure how to design C API for this, but this patch would definitely help serializer. Shota FUJI authored at Shota FUJI comitted at
  13. 57ad36db Body parsing Although parsing functionality is complete, API is mess. So this project is not ready yet. Shota FUJI authored at Shota FUJI comitted at
  14. 629d011e Fix incorrect test descriptions "Metadata.parse()" is a static method. Shota FUJI authored at Shota FUJI comitted at
  15. a9b3dac0 Header parsing Shota FUJI authored at Shota FUJI comitted at
  16. e15a535c Metadata parsing Shota FUJI authored at Shota FUJI comitted at
  17. de120c19 Initial draft for main Zig API Shota FUJI authored at Shota FUJI comitted at
  18. b69b4858 Foundation for Zig library project Shota FUJI authored at Shota FUJI comitted at
  19. ae3da926 Configure base text styles and formatting Shota FUJI authored at Shota FUJI comitted at
  20. 72aa309d Create license files This project will be available as Zero-Clause BSD or Apache-2.0 Shota FUJI authored at Shota FUJI comitted at