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

[rust] update clap, object, zerocopy #25912

Open
wants to merge 3 commits into
base: master
Choose a base branch
from
Open

Conversation

nbdd0121
Copy link
Contributor

Now we've updated past Rust 1.74, we can unpin clap and update object. object has a trait lifetime update which requires minor adjustment.

zerocopy underwent a major update:

  • AsBytes is renamed to IntoBytes
  • .as_bytes() now require Immutable
  • FromBytes now imply FromZeroes and doesn't need explicit derive
  • method renames

Now we've updated past Rust 1.74, we can unpin clap versions.

Signed-off-by: Gary Guo <[email protected]>
Notable changes:
* `AsBytes` is renamed to `IntoBytes`
* `.as_bytes()` now require `Immutable`
* `FromBytes` now imply `FromZeroes` and doesn't need explicit derive
* method renames

Signed-off-by: Gary Guo <[email protected]>
@nbdd0121 nbdd0121 requested a review from a team as a code owner January 16, 2025 17:37
@nbdd0121 nbdd0121 requested review from jon-flatley and removed request for a team January 16, 2025 17:37
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.

1 participant