Skip to content

Commit

Permalink
make MaxEntries serde
Browse files Browse the repository at this point in the history
  • Loading branch information
DougAnderson444 committed Jul 7, 2024
1 parent 4e3c933 commit 87a7ea7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions crates/delanocreds/src/entry.rs
Original file line number Diff line number Diff line change
Expand Up @@ -91,6 +91,7 @@ pub fn entry_to_scalar(input: &Entry) -> Vec<Scalar> {
///
/// Defaults to [DEFAULT_MAX_ENTRIES] (6)
#[derive(Debug, Clone, Copy, PartialEq)]
#[cfg_attr(feature = "serde", derive(serde::Serialize, serde::Deserialize))]
pub struct MaxEntries(pub usize);

impl From<usize> for MaxEntries {
Expand Down

0 comments on commit 87a7ea7

Please sign in to comment.