fraiseql_wire/protocol/mod.rs
1//! Postgres wire protocol implementation
2//!
3//! This module implements the minimal subset of the Postgres wire protocol
4//! needed for fraiseql-wire:
5//!
6//! * Startup and authentication
7//! * Simple Query protocol
8//! * Result streaming (`RowDescription`, `DataRow`)
9//! * Error handling
10//!
11//! Explicitly NOT supported:
12//! * Extended Query protocol (prepared statements)
13//! * COPY protocol
14//! * Transactions
15//! * Multi-statement queries
16
17pub mod constants;
18pub mod decode;
19pub mod encode;
20pub mod message;
21
22pub use decode::decode_message;
23pub use encode::encode_message;
24pub use message::{
25 AuthenticationMessage, BackendMessage, ErrorFields, FieldDescription, FrontendMessage,
26};