#postgresql #postgres-protocol

postgres-proto-rs

A crate that helps you parse the postgres wire protocol

1 unstable release

0.1.0 Oct 12, 2022

#99 in #postgres

MIT license

58KB
1.5K SLoC

Postgres Proto RS

A project to help you parse the postgres wire protocol in rust!

Inspired by jackc/pgproto3

Please refer to the examples folder for an example of creating a simple postgres proxy server

The network module has both standard and tokio implementations to get and send client or server messages

The messages module contains the logic for reading and parsing the postgres wire messages.

Note: Not very message type has parsing implemented. Contributions are welcome!

Dependencies

~4–12MB
~135K SLoC