ProtoBuf.jl
ProtoBuf.jl copied to clipboard
Julia protobuf implementation
Most name collisions aren't really a problem here thanks to modules, but conflicts with `Base` can still be a problem (for example names like `Vector` and `Array`). One simple solution...
When generating Julia definitions for multiple .proto files that each import a common .proto file, each of the generated modules gets its own definition of the "common" type. This makes...
I'm not sure why `TranscodingStreams` is a dependency of this package. Both uses in: https://github.com/JuliaIO/ProtoBuf.jl/blob/3eb59e1cf4e9bb014fbdea201b40fe265cee79d4/src/codec/vbyte.jl#L2-L4 and https://github.com/JuliaIO/ProtoBuf.jl/blob/3eb59e1cf4e9bb014fbdea201b40fe265cee79d4/src/lexing/Lexers.jl#L48 are relying on internal details of TranscodingStreams that may break in the future...
I'd like to add `julia_package` option to overwrite the package identifier specified in `package` statement.
Add flag to suppress autogenerated comments in generated code to minimize diff https://github.com/JuliaIO/ProtoBuf.jl/blob/2e80936531fe6a3ed2e6a04df4f5b57cdaf90dc8/src/codegen/toplevel_definitions.jl#L151-L152
Noticed when running ExplicitImports.jl on a module with PB generated files. Got: ```jl Module `Foo.Rel` has qualified accesses to names via modules other than their owner as determined via `Base.which`:...
(I'm relatively inexperienced with protobufs, and also with Julia, so forgive me if my diagnosis here is wrong!) I'm trying to use ProtoBuf.jl to send commands from Julia to [OLA](https://github.com/OpenLightingProject/ola),...
It would be nice if the resulting code used `using` rather than `import`. So instead of generating ``` import ProtoBuf as PB ``` generate ``` using ProtoBuf: ProtoBuf as PB...
If i run Aqua.jl on a module generated protobuf file `Rel_pb.jl` it complains of [unbound type parameters](https://juliatesting.github.io/Aqua.jl/stable/unbound_args/), i.e. " a type parameter with a where, that does not occur in...
We run into truncation problems because the encoding size is a `UInt32`. This PR does not necessarily need to be merged, we mostly want to unblock ourselves.