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

(MINOR) Update xmp_toolkit to v1.7.1, remove Ring dependency, fix build errors #407

Merged
merged 11 commits into from
Feb 23, 2024

Conversation

dkozma
Copy link
Contributor

@dkozma dkozma commented Feb 21, 2024

Changes in this pull request

  • Updates xmp_toolkit to v1.7.1 to resolve a build issue stemming from a new version of the cc crate (discussed in this issue).
  • Removes the dependency on ring since we were just using it for secure random number generation and it was causing a good deal of cross-compilation issues. This replaces it with Crypto.getRandomValues() in Wasm and the ChaCha20Rng in systems not running OpenSSL.
  • Updates the usage of read_from to read_from2 due to this change in the id3 crate. Had to pin to id3@=1.12.0 due to Rust 1.70 compatibility issues that undid this change.

Checklist

  • This PR represents a single feature, fix, or change.
  • All applicable changes have been documented.
  • Any TO DO items (or similar) have been entered as GitHub issues and the link to that issue has been included in a comment.

@codecov-commenter
Copy link

codecov-commenter commented Feb 21, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 79.93%. Comparing base (3dc7bf2) to head (47c80e5).

❗ Your organization needs to install the Codecov GitHub app to enable full functionality.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #407   +/-   ##
=======================================
  Coverage   79.93%   79.93%           
=======================================
  Files          80       79    -1     
  Lines       24240    24241    +1     
=======================================
+ Hits        19377    19378    +1     
  Misses       4863     4863           

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

@dkozma dkozma changed the title Update xmp_toolkit to v1.7.1 to resolve build issue Update xmp_toolkit to v1.7.1, remove Ring dependency, fix build errors Feb 21, 2024
Copy link
Collaborator

@mauricefisher64 mauricefisher64 left a comment

Choose a reason for hiding this comment

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

👍

@dkozma dkozma changed the title Update xmp_toolkit to v1.7.1, remove Ring dependency, fix build errors (MINOR) Update xmp_toolkit to v1.7.1, remove Ring dependency, fix build errors Feb 22, 2024
@dkozma dkozma merged commit adafc0c into main Feb 23, 2024
22 checks passed
@dkozma dkozma deleted the update-xmp-toolkit branch February 23, 2024 01:31
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.

None yet

4 participants