Skip to content
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

Update backend dependencies #1302

Merged
merged 6 commits into from
Dec 16, 2024
Merged

Conversation

LukasKalbertodt
Copy link
Member

This should also shrink the dependency tree a bit, for example getting rid of syn 1.x and isahc, as well as duplicate versions of ring and rustls.

This is probably the last dependency update before 3.0 so that we have a bit of time to test this still.

@LukasKalbertodt LukasKalbertodt added the changelog:admin Changes primarily for admins label Dec 12, 2024
@github-actions github-actions bot temporarily deployed to test-deployment-pr1302 December 12, 2024 17:28 Destroyed
Just boring code adjustments, mostly imports. But this is a nice update
as it gets rid of the `isahc` dependency, pruning our dependency tree
a bit.

The `isahc` and `libz-sys` entries in the Cargo.toml were just to
control how indirect dependencies were getting linked and are not
necessary anymore.
In elan-ev#546 I configured dependencies to avoid dynamically linking libssl
and libz. I just checked again after the Meili update and noticed that
those library are again linked dynamically. I think this has to do with
me adding `reqwest` as dependencies without disabling default features.

With this commit, libssl and libz are again not dynamically linked.
This gets rid of some duplicate dependencies (with two different
versions). The new rustls version uses aws-lc-rs as default crypto
provider. But since many other dependencies still use ring, I configured
rustls to keep using ring as well. We might want to switch in the
future. No idea.
@owi92 owi92 merged commit 606d792 into elan-ev:next Dec 16, 2024
4 checks passed
@LukasKalbertodt LukasKalbertodt deleted the backend-updates branch December 16, 2024 11:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
changelog:admin Changes primarily for admins
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants