Releases: sgrif/pq-sys
Releases · sgrif/pq-sys
Pq-src 0.3.3
- Remove scripts and other unused files from the published package
Full Changelog: v0.7.0...v0.3.3
Pq-sys 0.7.0
- Bump bindgen to 0.71
- Regenerate bindings and make sure that they compile on common platforms
- Remove non-libpq items from the generated bindings
- Bump crate to 2021 edition
- Increase minimal supported rust version to 1.82
Pq-sys 0.6.2
openssl
usage can now be disabled with the bundled_without_openssl
feature of pq-sys
.
To deactivate openssl
, enable it:
[dependencies]
pq-sys = { version = "0.3.0", features = ["bundled_without_openssl"]}
This disables the TLS support in libpq
, so that you cannot connect to a database requiring TLS anymore.
pq-sys 0.6.1
pq-src
starting with version 0.3 now depends on openssl on windows as well add support for the scram-sha-256 authentication methodpq-sys
adds support for pq-src 0.3.0
Pq-sys 0.6.0
Changed
- The
bundled
feature ofpq-sys
no longer build a bundled version ofopenssl
.
To bundleopenssl
when compilinglibpq
from source, addopenssl-sys
with thevendored
feature to your crate dependencies:[dependencies] openssl-sys = { version = "0.9.93", features = ["vendored"] }
Full Changelog: v0.5.0...v0.6.0
pq-src 0.1.6
- Fixed a potential compilation error on MacOS
pq-src 0.1.5
- Include a vendored copy of
explicit_bzero
to the linux build as well as that function only exists on newer glibc versions
pq-src 0.1.2
Change #[cfg(target_*)]
attributes in the build script to use cargo set environment variables instead. This enables cross compiling pq-src
to a different target system.
pq-src 0.1.1
- We updated the bundled libpq version to 16.2 to fix compatibility with openssl 3.2
- We changed the build script to expose the bundled libpq headers by setting
DEP_PQ_SYS_SRC_INCLUDE
so that other *-sys crates can consume that information and reuse the bundled build provided by this crate
Full Changelog: v0.5.0...v0.1.1
pq-sys 0.5.0
Added
- We added a
pq-src
crate and abundled
feature forpq-sys
. This allows to build and link a static version of libpq during the rust build process. This feature currently supports builds targeting Windows, Linux and macOS. It requires a c-compiler toolchain for the target to build libpq from source. - We added a
buildtime_bindgen
feature flag that allows to generate bindings for your locally installed libpq version. This is helpful for cases where the target architecture is significantly different to what the built-in bindings assume.
Changed
- We regenerated the bundled bindings to match the libpq version build by the
bundled
feature flag
Full Changelog: v0.4.8...v0.5.0