Skip to content

removing older C libraries #96

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
clux opened this issue May 22, 2022 · 1 comment
Open

removing older C libraries #96

clux opened this issue May 22, 2022 · 1 comment

Comments

@clux
Copy link
Owner

clux commented May 22, 2022

Some of the C libraries in here are potentially less necessary down the line as rust alternatives gain complete majority and stability.

Only two candidates for removal

curl

As far as I can there are very few uses of curl variants these days (it was more common pre-hyper dominance), but the curl crate still has plenty of downloads.

zlib

The flate2 crate can possibly replace zlib as it bundles miniz.c as the default implementation.
But, don't think it works with pq, and the openssl build probably also benefits from it (it might disable gzip support otherwise).

Status

2022: This is mostly a tracking issue for me. No immediate action is planned here this year. If you use these libraries and would like them to stay, or otherwise have input on this, please leave a comment.

EDIT: 2025. it's 3 years later, and these libraries are no more useful now. curl has been removed. zlib might be removed if stuff builds fine without it.

@clux
Copy link
Owner Author

clux commented Feb 24, 2025

In the latest version curl has been removed. Combination of laziness + brokenness + not seeing it being very useful anymore. Think it's better to keep the image a little on the lighter side to cater to common use cases rather than the kitchen sink when the CI here is taking 1 hour for ARM. Plus, should make room for aws lc crypto #141

See #151 for details.

clux added a commit that referenced this issue Feb 25, 2025
for #96

if anyone still needs this, likely best to inherit from the image and adding in this step.
CI is already slow with the libraries we have and trying to make room for aws's crypto lib without going insane #141.

Signed-off-by: clux <[email protected]>
@clux clux changed the title explore possibility of removing older C libraries removing older C libraries Feb 27, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant