Commit Graph

6 Commits

Author SHA1 Message Date
charles 05e4c275bb Add raw field iterator and with builder method
- Implement RawFieldIterator and ProtoAccessor::raw_fields that yield
  (field_number, raw_bytes) pairs for each field
- Extend Builder with per-field _written flags and add a with()
  method to copy unseen fields from a source message
- Add ProtoBuilder::write_raw to copy pre-encoded field bytes
- Add tests for raw-field iteration, verbatim copying, and with()
2026-05-04 19:03:56 -07:00
charles 858c6968d4 Clean warnings 2026-05-04 11:14:57 -07:00
charles 7fbea70860 Migrate to using generated code 2026-05-04 10:45:38 -07:00
charles 87b111faf5 Code compiles, but tests fail 2026-05-04 09:04:28 -07:00
charles d9be36726f Implement protobuf enum and message generation
Add `write_enum` and `write_message` to generate Rust enums and structs
from protobuf descriptors. Update the generator tests to support the
updated `generate_rust_code` signature.
2026-05-04 08:59:23 -07:00
charles 31476485cf Add integration test 2026-05-03 13:06:11 -07:00