Andrew Lazarus

Results 53 comments of Andrew Lazarus

Friendly bump :)

There are some merge conflicts that I'll fix if you are open to this PR. I'd like to fix the implementation of Owned.

You can encode it with or without a length prefix. Here's how to encode / decode without a length prefix: ```rust let mut buf = Vec::new(); let mut writer =...

I had a branch to add an option to `pb-rs` to generate code with bytes instead of `std::cow`, but I never opened a PR b/c it looked like it hurt...

re: this issue and https://github.com/tafia/quick-protobuf/pull/142. There's already a flag for generating code without `Cow`: `--dont_use_cow`. It seems like the intention of that flag is `no_std`. Should there be a `--no-std`...

Prost has a config for plugging in an external service generator: https://docs.rs/prost-build/0.3.2/prost_build/struct.Config.html#method.service_generator That seems like another solution.

I assume you mean when doing `MyMessage::default()`. It looks like default values should be respected when deserializing a proto.

I'll admit I was also confused by this. In fact, I need to lookup my code just about every time I need to write to remember which one to use....

I think extension support could be related to adding support for unknown fields (at least for non descriptor extensions): https://github.com/tafia/quick-protobuf/issues/93

Are you referring to the `build.rs` example in the README?