Skip to content

gh-139314: Support linking against zlib-rs and libbzip2-rs#139315

Draft
emmatyping wants to merge 3 commits intopython:mainfrom
emmatyping:build-with-rust-compression-libs
Draft

gh-139314: Support linking against zlib-rs and libbzip2-rs#139315
emmatyping wants to merge 3 commits intopython:mainfrom
emmatyping:build-with-rust-compression-libs

Conversation

@emmatyping
Copy link
Copy Markdown
Member

@emmatyping emmatyping commented Sep 25, 2025

This PR updates configure.ac to recognize zlib-rs and libbzip2-rs available via pkg-config.

For rational, please see the issue:

zlib-rs and libbzip2-rs are Rust re-implementations of zlib and bzip2, two very popular compression libraries. The Rust implementations have comparable performance to zlib-ng and libbzip2, respectively.
Since the libraries are written in Rust, they should have significantly smaller surface areas of memory unsafety.
@picnixz picnixz changed the title gh-139314: Support linking againts zlib-rs and libbzip2-rs gh-139314: Support linking against zlib-rs and libbzip2-rs Nov 7, 2025
@@ -0,0 +1 @@
Support was added for building against `zlib-rs <https://github.com/trifectatechfoundation/zlib-rs/>`__ and `libbzip2-rs <https://github.com/trifectatechfoundation/libbzip2-rs>`__.
Copy link
Copy Markdown
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggested change
Support was added for building against `zlib-rs <https://github.com/trifectatechfoundation/zlib-rs/>`__ and `libbzip2-rs <https://github.com/trifectatechfoundation/libbzip2-rs>`__.
Add support for building against `zlib-rs <https://github.com/trifectatechfoundation/zlib-rs/>`__ and `libbzip2-rs <https://github.com/trifectatechfoundation/libbzip2-rs>`__.

(changelog entries style → commit message style → docstring style: assertive tone, not record of past events)

@github-actions
Copy link
Copy Markdown

This PR is stale because it has been open for 30 days with no activity.

@github-actions github-actions Bot added the stale Stale PR or inactive for long period of time. label Apr 29, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

awaiting merge stale Stale PR or inactive for long period of time.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants