#query #sql #generator #tokio-postgres #postgresql

cornucopi_sync

Synchronous client library for Cornucopi users

2 releases

new 0.4.1 Jan 5, 2025
0.4.0 Jan 5, 2025

#2350 in Database interfaces

Download history 248/week @ 2025-01-01

248 downloads per month

MIT/Apache

18KB
326 lines

Cornucopi

Generate type-checked Rust from your SQL

NOTE: It's been a long time since the original `cornucopia` crates were updated. These are copies of those crates under a new name, where we will focus on keeping sub-dependencies up-to-date.



Note: This crate is the synchronous client. You can find the asynchronous client here.

This is a client crate for Cornucopi. This dependency provides

  1. Internals required by the generated code.
  2. Public items that you may find useful when working with Cornucopi (you can find more info about these in the docs).

You need to depend on this crate for Cornucopi's generated code to work properly.

Dependencies

~7–16MB
~228K SLoC