Skip to content

Extend serde JSON generation to the guest-port messages#280

Merged
johannesschrimpf merged 1 commit into
masterfrom
rust-serde-json
Jul 6, 2026
Merged

Extend serde JSON generation to the guest-port messages#280
johannesschrimpf merged 1 commit into
masterfrom
rust-serde-json

Conversation

@johannesschrimpf

@johannesschrimpf johannesschrimpf commented Jul 6, 2026

Copy link
Copy Markdown
Contributor

Now that #279 landed the serde feature scoped to PersistentStorageSettings,
this extends the same pbjson configuration (snake_case names, defaults
emitted, unknown fields ignored) to the GuestPortInfo message closure
(GuestPortConnectorInfo, GuestPortDeviceList, GuestPortDevice, and the
guest-port enums).

libblunux consumes this to serialize the guest-port info JSON from the schema
instead of a hand-built value tree; until this merges, its dependency pins
this branch's rev.

🤖 Generated with Claude Code

Same pbjson configuration (snake_case names, defaults emitted, unknown
fields ignored) now also covers the GuestPortInfo closure, so libblunux
can serialize guest-port info JSON from the schema instead of a
hand-built value tree.

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
@johannesschrimpf johannesschrimpf changed the title Add opt-in protobuf-JSON serde support to the Rust binding Extend serde JSON generation to the guest-port messages Jul 6, 2026
@johannesschrimpf johannesschrimpf requested a review from jp-pino July 6, 2026 15:59
@johannesschrimpf johannesschrimpf merged commit 9cd842f into master Jul 6, 2026
4 checks passed
@johannesschrimpf johannesschrimpf deleted the rust-serde-json branch July 6, 2026 16:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant