#sql #postgresql #pg-query

sys libpgquery-sys

Rust bindings to libpgquery

1 unstable release

0.1.0 Oct 20, 2021

#581 in #sql


Used in postguard

MIT license

22MB
230K SLoC

C 145K SLoC // 0.1% comments C++ 85K SLoC // 0.1% comments Rust 106 SLoC // 0.1% comments

Contains (static library, 12MB) libpg_query/libpg_query.a, (ELF exe/lib, 2MB) libpg_query/src/pg_query_fingerprint.o, (ELF exe/lib, 1.5MB) libpg_query/protobuf/pg_query.pb-c.o, (ELF exe/lib, 1.5MB) src_backend_parser_gram.o, (ELF exe/lib, 1MB) libpg_query/src/pg_query_deparse.o, (ELF exe/lib, 1MB) libpg_query/src/pg_query_outfuncs_json.o and 66 more.

libpgquery-sys

⚠️ Warning! This is an experimental wrapper over libpg_query for use as a set of bindings in pg_query. You're probably looking for pg_query. ⚠️

Dependencies

~1–4.5MB
~84K SLoC