Skip to content

Bring your own codec #2664

Description

@cemoktra

Hi,

i'm building a set of crates that until now hooked in tonic codec for a custom encoding/decoding experience: https://codeberg.org/cemoktra/gin-tonic

Basically i'm providing a protobuf option to directly use your real types in protobuf message structs, a trait for defining how this is encoded on protobuf scalar values and a code generator for this.

I was now scimming the traits exposed by the new library, and it seems there is no such thing as the Codec trait anymore.

That leads to my main question of, to plan to re-integrate that?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions