RubyGems Navigation menu

magicprotorb 0.1.0

magicprotorb lets you `require "magicprotorb/foo/bar_pb"` and have foo/bar.proto compiled to descriptors and registered at require time. The dotted require path mirrors the canonical proto path 1:1, so the require name, the file location, and the descriptor name can never drift apart. A small Rust extension (built on the pure-Rust protox compiler) turns .proto text into a FileDescriptorSet, which is then registered through the stock protobuf DescriptorPool — making the resulting message classes indistinguishable from generated ones.

Gemfile:
=

install:
=

Versions:

  1. 0.1.0 May 29, 2026 (19.5 KB)

Runtime Dependencies (2):

google-protobuf >= 3.21, < 5.0
rb_sys ~> 0.9

Owners:

Pushed by:

Authors:

  • Sam

SHA 256 checksum:

=

Total downloads 244

For this version 244

Version Released:

License:

MIT

Required Ruby Version: >= 3.0.0

New versions require MFA: true

Version published with MFA: true

Links: