Categories: None [Edit]

magicprotorb

https://rubygems.org/gems/magicprotorb
https://github.com/grpyc/magicproto-rb
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.

Total

Ranking: 195,640 of 197,134
Downloads: 335

Daily

Ranking: 77,554 of 197,107
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
113457,104,934google-protobuf
1,30736,873,218rb_sys

Owners

#GravatarHandle
1iconsamdvr