Skip to content

Releases: sgrif/pq-sys

Pq-src 0.3.3

30 Jan 13:38
v0.3.3
3190d90
Compare
Choose a tag to compare
  • Remove scripts and other unused files from the published package

Full Changelog: v0.7.0...v0.3.3

Pq-sys 0.7.0

10 Jan 07:50
v0.7.0
f055d4f
Compare
Choose a tag to compare
  • 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

09 Sep 17:58
v0.6.2
61f8530
Compare
Choose a tag to compare

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

11 Jun 13:11
v0.6.1
c5d8aa0
Compare
Choose a tag to compare
  • pq-src starting with version 0.3 now depends on openssl on windows as well add support for the scram-sha-256 authentication method
  • pq-sys adds support for pq-src 0.3.0

Pq-sys 0.6.0

17 May 09:58
v0.6.0
1bfca6b
Compare
Choose a tag to compare

Changed

  • The bundled feature of pq-sys no longer build a bundled version of openssl.
    To bundle openssl when compiling libpq from source, add openssl-sys with the vendored 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

12 Apr 09:05
v0.1.6
e04db6c
Compare
Choose a tag to compare
  • Fixed a potential compilation error on MacOS

pq-src 0.1.5

10 Apr 06:26
v0.1.5
c69261c
Compare
Choose a tag to compare
  • 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

08 Mar 08:00
v0.1.2
31d60fb
Compare
Choose a tag to compare

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

09 Feb 09:55
v0.1.1
722f606
Compare
Choose a tag to compare
  • 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

19 Jan 11:06
v0.5.0
0bad18b
Compare
Choose a tag to compare

Added

  • We added a pq-src crate and a bundled feature for pq-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