Skip to main content

Crate prototext_core

Crate prototext_core 

Source

Re-exports§

pub use schema::ParsedSchema;
pub use schema::SchemaError;

Modules§

decoder
helpers
schema
serialize

Structs§

RenderOpts
Options controlling how a protobuf binary payload is rendered as text.

Enums§

CodecError
Errors that can occur while decoding or encoding a protobuf payload.

Functions§

parse_schema
Parse a compiled .pb descriptor into a ParsedSchema.
render_as_bytes
Encode a textual prototext payload back to raw protobuf binary wire bytes.
render_as_text
Decode a raw protobuf binary payload and render it as protoc-style text.