Skip to content

Commit

Permalink
attest-data: Add std feature guard on TryFrom<Vec<u8>>
Browse files Browse the repository at this point in the history
  • Loading branch information
flihp committed Dec 23, 2023
1 parent f1aa508 commit f83affd
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions attest-data/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,6 +61,7 @@ impl<const N: usize> TryFrom<&[u8]> for Array<N> {
}
}

#[cfg(feature = "std")]
impl<const N: usize> TryFrom<Vec<u8>> for Array<N> {
type Error = AttestDataError;

Expand Down

0 comments on commit f83affd

Please sign in to comment.