sentinel-driver
High-performance PostgreSQL wire protocol driver for Rust.
- PG-only -- no multi-database abstraction tax
- Pipeline mode -- automatic query batching (PG 14+)
- Binary encoding -- 15-40% faster for non-text types
- Zero-copy --
bytes::Bytesslices for large column values - SCRAM-SHA-256 -- correct SASLprep implementation
- COPY protocol -- bulk insert 10-50x faster than INSERT
- LISTEN/NOTIFY -- first-class realtime notifications
- Cancel query -- CancelToken for safe query cancellation
- Per-query timeout -- auto-cancel with configurable statement_timeout
- Array types --
Vec<T>encode/decode for PostgreSQL arrays
Usage
[]
= "0.1"
use ;
async
License
MIT OR Apache-2.0