mongreldb-client — a lightweight HTTP client for mongreldb-server.
Hardened surface:
- Every call checks the HTTP status and returns a typed [
ClientError] on non-2xx (the server'sKitErrorEnvelopeis decoded into [KitError::unique_violation]/fk_violation/etc.). - Typed [
KitTxnRequest]/[KitTxnResponse] models mirror the server's/kit/txnbatch endpoint. - [
MongrelClient::kit_schema] fetches table metadata (columns + constraints). - Legacy SQL read ([
MongrelClient::sql]) returns Arrow IPC batches.