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 dependencies #89

Merged

Conversation

andrewwhitehead
Copy link
Contributor

  • Updates Rust crate dependencies
  • Updates to Rust 2021 edition
  • Fixes clippy warnings

codegen-units = 1
lto = true
panic = "abort"
Copy link
Contributor

Choose a reason for hiding this comment

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

What's the reason behind abort?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

It removes the panic unwinding, because a panic can't cross the FFI boundary and it potentially leaves things in an invalid state. This makes the binary smaller as well.

TimoGlastra
TimoGlastra previously approved these changes Feb 3, 2023
@andrewwhitehead
Copy link
Contributor Author

I was planning to merge this for 0.2.8, but since it changes the Rust requirements (edition and version) it should likely be held off until 0.3.

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
@andrewwhitehead
Copy link
Contributor Author

andrewwhitehead commented Mar 6, 2023

Updating this PR because, based on the number of related projects creating breakages in the current build pipeline (including rayon at the moment), it is not unusual at all to upgrade the Rust version dependency in a patch release.

Signed-off-by: Andrew Whitehead <cywolf@gmail.com>
@berendsliedrecht berendsliedrecht merged commit 1a5cb16 into openwallet-foundation:main Mar 7, 2023
jamshale pushed a commit to jamshale/askar that referenced this pull request Aug 18, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants