Skip to content

Replace protobuf crate with prost #11

@apyrgio

Description

@apyrgio

The prost crate seems to have several advantages over the protobuf crate:

  1. It generates idiomatic Rust code.
  2. It does not have API-compatibility limitations (see protobuf version mismatch causes compilation error #10)
  3. It is maintained, has more users, and belongs under the umbrella of tokio-rs

Switching from protobuf to prost is not easy though, so this will take a while. It would be interesting to see if we can drop our src/metadata.rs wrapper over generated code and just extend the structs that prost creates.

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions