pub mod auth;
pub mod backend;
mod codec;
pub mod frontend;
pub mod protocol;
pub use auth::{AuthenticationExchange, AuthenticationResponse, AuthenticationResponseKind};
pub use backend::{
encode_all, encode_all_for_protocol, Authentication, BackendKeyData, BackendMessage,
CopyResponse, ErrorOrNotice, FieldDescription, GSSEncResponse, NoticeSeverity,
NotificationResponse, SSLResponse,
};
pub use frontend::{
decode_frontend, decode_frontend_with_max, decode_startup, decode_startup_with_max, Bind,
CloseTarget, DescribeTarget, Execute, FrontendMessage, FunctionCall, Parse, PasswordMessage,
StartupFrame, StartupMessage, StartupNegotiation,
};
pub use protocol::{
CancelKey, DecodeError, DecodeOutcome, FormatCode, PgWireError, ProtocolVersion,
TransactionStatus, CANCEL_REQUEST_CODE, GSSENC_REQUEST_CODE, MAX_CANCEL_KEY_LEN,
MIN_BACKEND_KEY_DATA_KEY_LEN, MIN_CANCEL_REQUEST_KEY_LEN, PROTOCOL_VERSION_3_0,
PROTOCOL_VERSION_3_2, SSL_REQUEST_CODE,
};