quack_protocol
Rust client-side SDK for DuckDB's experimental Quack remote protocol.
The crate implements:
- DuckDB
BinarySerializer-compatible primitive, object, logical type, vector, andDataChunkcodecs. - Quack connection, prepare/query, fetch, append, disconnect, success, and error messages.
- Async HTTP
POST /quacktransport usingapplication/duckdb. - URI parsing for
localhost:9494,quack:host:port, bracketed IPv6, and direct HTTP(S) URLs. - SQL literal formatting for positional and named parameters.
use ;
async
Quack is still experimental upstream and not yet covered by a stable official wire spec. This implementation follows DuckDB's duckdb-quack extension.