pq-sys
pq-sys copied to clipboard
Auto-generated rust bindings for libpq
Would you be open to not include systematically `openssl` when using `pq-src` ? My use case is to use [rustls-ssl](https://github.com/rustls/rustls-openssl-compat) with `libpq`, without needing to have `openssl` as a dependency....
There seems to be an issue on running this crate on alpine linux. Minimal steps to reproduce (using docker) ``` docker pull rust:alpine docker run --rm -it rust:alpine ``` and...
Hey there I tried to install `diesel-cli` and `diesel` (Windows 11) and I still receive the two common errors with missing `libpq.lib` and when running missing `libpq.dll`. I do not...
The binaries generated by `cargo` don't set RPATH, which means they don't work unless you happen to have libpq installed in a location that's on the runtime linker's default search...
The [section in build.rs](https://github.com/sgrif/pq-sys/blob/3e367d53019a2740054d5dc6946e07931f1fb70b/build.rs#L90-L93) can possibly add the standard path `/usr/lib` (or `/usr/lib/x86_64-linux-gnu` on Debian) to the `rustc-link-search` path. It will introduce an extra `-L/usr/lib` flag to the linker. It...
How involved would it be to add iOS as a target? I am admittedly unfamiliar with how these existing bindings were written/applied per target platform, though I am willing to...
`pkg-config` is very robust and useful for locating libpq and sometimes preferrable to pg_config (e.g. in a cross context). However, since the pkg-config support in build.rs is gated behind a...
When trying to use asan-enabled libpq (as a part of a complete postgres build), compiled as follows: ``` CC=gcc CFLAGS="-Og -fsanitize=address -fsanitize=undefined -fno-sanitize-recover" \ LDFLAGS="-fsanitize=address -fsanitize=undefined -static-libasan -static-libubsan" \ ./configure...
Hey, I've got some issues trying to compile (project uses the `rust:1-alpine3.21` docker image): Output: ``` backend-1 | The following warnings were emitted during compilation: backend-1 | backend-1 | warning:...
FreeBSD
Hello. I am new to Open Source projects, however I am interested in finding out more about this community. I received this message while working with Rust Diesel for a...