Skip to content

Commit

Permalink
fix: update cfg attribute for serde feature (#50)
Browse files Browse the repository at this point in the history
  • Loading branch information
jacobkaufmann authored Mar 22, 2024
1 parent fcd2867 commit 83556b7
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/bytes.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@ impl AsRef<[u8]> for Bytes {
}
}

#[cfg(any(test, feature = "serde"))]
#[cfg(feature = "serde")]
pub mod serde {
use super::*;

Expand Down
2 changes: 1 addition & 1 deletion src/kzg/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@ use crate::{blob, bls};
mod poly;
mod setup;

#[cfg(test)]
#[cfg(all(test, feature = "serde"))]
mod spec;

pub type Proof = bls::P1;
Expand Down

0 comments on commit 83556b7

Please sign in to comment.