fern_protocol_postgresql/
lib.rs

1// SPDX-FileCopyrightText:  Copyright © 2022 The Fern Authors <team@fernproxy.io>
2// SPDX-License-Identifier: Apache-2.0
3
4//! # PostgreSQL wire protocol
5//!
6//! Structs and functions for implementing the PostgreSQL wire protocol
7//! [Message Formats], as needed by Fern proxy.
8//!
9//!
10//! ## Disclaimer
11//! By no means does this crate aim to implement Structs for PostgreSQL
12//! messages that could be used for building general purpose or specialized
13//! PostgreSQL clients and/or servers. Structs in this crate aim only to
14//! support the specific needs of the Fern proxy project.
15//!
16//! ## Examples
17//!
18//! ```rust
19//! use fern_protocol_postgres::codec::frontend::{Codec, Message};
20//! ```
21//!
22//! [Message Formats]: https://www.postgresql.org/docs/current/protocol-message-formats.html
23
24#![forbid(unsafe_code)]
25
26pub mod codec;