Daan de Graaf

Results 17 comments of Daan de Graaf

It's great to see so many people wanting to contribute to make this an awesome crate, thanks all! I'm not planning to take up a significant role maintaining this crate,...

Serde has a little known (and slightly hidden) feature where it can deserialize straight into the target struct. For this you can use `Deserialize::deserialize_in_place`, it is hidden from the docs...

Unfortunately the code I wrote using this is proprietary and I've since left the company, so I'll have to answer this off the top of my head 😅. - I...

I believe the type can be simply BTreeMap. I'll verify this and send a pull request with the changes.

I looked into this for https://github.com/project-oak/oak/issues/668, and the issue seems to be that whatever parses the `FileDescriptorSet` needs to be aware that the extension exists for it not to be...

I was able to extract field options with a [very small patch](https://github.com/wildarch/prost/commit/deaeedd89c89aec12c2680fdb8771bd02e90d3c8#diff-183e80c51b8ed1dcdf8f85984323f541) to the `prost-types` crate. As long as the tag number matches the one defined in the extension on...

`MyProtoMessage` is just an example message here for which the `unknown_fields` flag is enabled. For your case it would look like this: Changes to [`MessageOptions`](https://docs.rs/prost-types/0.6.1/prost_types/struct.MessageOptions.html): ```rust struct MessageOptions { ......

CC @tiziano88

Thanks for fixing that @Frando! I can pull your changes in 😄. But before I do that and spend more time on this PR I would like some feedback from...

Relevant PR: https://github.com/SirWindfield/blackjack/pull/1