#protocols #arrow #postgresql

convergence

Write servers that speak PostgreSQL's wire protocol

16 breaking releases

0.17.1 May 1, 2025
0.16.0 May 10, 2024
0.15.0 Jan 23, 2024
0.14.0 Sep 19, 2023
0.2.0 Apr 9, 2021

#2172 in Database interfaces

Download history 1/week @ 2025-02-05 3/week @ 2025-02-12 100/week @ 2025-04-23 167/week @ 2025-04-30 17/week @ 2025-05-07 36/week @ 2025-05-14

320 downloads per month
Used in 2 crates

MIT license

34KB
943 lines

Convergence

Tests Crates.io

A set of tools for writing servers that speak PostgreSQL's wire protocol.

🚧 This project is extremely WIP at this stage.

Crates

convergence contains the core traits, protocol handling and connection state machine for emulating a Postgres server.

convergence-arrow enables translation of Apache Arrow dataframes into Postgres result sets, allowing you to access your Arrow-powered data services via standard Postgres drivers. It also provides a reusable Engine implementation using DataFusion for execution.

Dependencies

~11–21MB
~316K SLoC