fern-protocol-postgresql

PostgreSQL wire protocol implementation as needed by Fern proxy

1 unstable release

0.1.0 Sep 24, 2022


Used in 2 crates

Apache-2.0

67KB
1K SLoC

PostgreSQL wire protocol implementation as needed by Fern proxy. Work in progress... ⏳

Does not support yet binary field format, COPY and some other commands. Feel free to contribute! 👍


lib.rs:

PostgreSQL wire protocol

Structs and functions for implementing the PostgreSQL wire protocol Message Formats, as needed by Fern proxy.

Disclaimer

By no means does this crate aim to implement Structs for PostgreSQL messages that could be used for building general purpose or specialized PostgreSQL clients and/or servers. Structs in this crate aim only to support the specific needs of the Fern proxy project.

Examples

use fern_protocol_postgres::codec::frontend::{Codec, Message};

Dependencies

~5–11MB
~117K SLoC