build(deps): replace deprecated serde_cbor with minicbor#18
Merged
hyperfinitism merged 1 commit intomainfrom Mar 6, 2026
Merged
build(deps): replace deprecated serde_cbor with minicbor#18hyperfinitism merged 1 commit intomainfrom
serde_cbor with minicbor#18hyperfinitism merged 1 commit intomainfrom
Conversation
This commit replaces the deprecated serde_cbor crate with the actively maintained minicbor crate for CBOR deserialization. The dependency on the serde_bytes crate is also removed as it is no longer needed.
98558f7 to
8e946f0
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
serde_cborcrate (archived: 2021-08-15; last release: v0.11.2) with the actively maintainedminicborfor attestation document CBOR decodingserde_bytesdependency which is no longer neededChanges
Cargo.toml,client/Cargo.tomlminicborserde_cborandserde_bytesCargo.lock: Auto-update dependenciesclient/src/attestation.rsserde_cbor::from_slicewithminicbor::Decoder-based manual decodingserde_bytes::ByteBufwithVec<u8>Test
Verified end-to-end on an AWS EC2 instance
m6g.xlarge(Ubuntu 24.04/AArch64) with Nitro Enclaves enabled.Note
serde_cbor(andserde_bytes) remain inCargo.lockas transitive dependencies ofaws-nitro-enclaves-coseandaws-nitro-enclaves-nsm-api. These are outside our control and will be resolved when the upstream crates migrate.