Skip to content

Commit

Permalink
Make uint types (un)serializable
Browse files Browse the repository at this point in the history
  • Loading branch information
shesek committed Nov 3, 2020
1 parent 8255e01 commit b5f0121
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/util/uint.rs
Expand Up @@ -22,6 +22,7 @@ macro_rules! construct_uint {
($name:ident, $n_words:expr) => (
/// Little-endian large integer type
#[derive(Copy, Clone, PartialEq, Eq, Hash, Default)]
#[cfg_attr(feature = "use-serde", derive(serde::Serialize, serde::Deserialize))]
pub struct $name(pub [u64; $n_words]);
impl_array_newtype!($name, u64, $n_words);

Expand Down

0 comments on commit b5f0121

Please sign in to comment.