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: 196,444 of 198,225
Downloads: 356

Daily

Ranking: 132,668 of 198,184
Downloads: 0

Depended by

RankDownloadsName

Depends on

RankDownloadsName
115465,215,815google-protobuf
1,29237,752,674rb_sys

Owners

#GravatarHandle
1iconsamdvr