Skip to main content

Crate sqlx_prost

Crate sqlx_prost 

Source
Expand description

§sqlx-prost

A small helper for using prost protobuf types with sqlx.

§What it does

sqlx-prost provides a wrapper type that lets you store and retrieve protobuf messages as binary values in SQLx-supported databases.

§Usage

Wrap your protobuf message type with SqlxProto(T) and use it in your SQLx models.

§License

This project is distributed under the MIT software license – see the LICENSE file for details

Structs§

SqlxProto
Wrapper for Protobuf messages to be used with sqlx.