Skip to content

Repository files navigation

libpg_query-sys

This crate provides FFI bindings to libpg_query.

Building Against the System Library

By default, this library builds against a version of the C library that it has vendored. However, if you set the LIBPG_QUERY_PATH env var when running cargo, it will use this path to find the needed header and library files. Specifically, it will look for $LIBPG_QUERY_PATH/include/pg_query.h and look in $LIBPG_QUERY_PATH/lib for the compiled library.

Version Mapping

This table shows how versions of this crate correspond to libpg_query versions:

Crate VersionC Library Version
0.4.016-5.1.0
0.3.015-4.2.0
0.2.113-2.1.0
0.2.013-2.1.0
0.1.310-1.0.2

About

FFI bindings to libpg_query-10-1.0.2

Resources

Stars

6 stars

Watchers

2 watching

Forks

Releases

Packages

Used by

Contributors

Languages