Skip to content

Commit

Permalink
conditionally import szk
Browse files Browse the repository at this point in the history
  • Loading branch information
Hannah Davis committed Jul 16, 2024
1 parent a051656 commit d82908f
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion src/vdaf.rs
Original file line number Diff line number Diff line change
Expand Up @@ -7,14 +7,16 @@

#[cfg(feature = "experimental")]
use crate::dp::DifferentialPrivacyStrategy;
#[cfg(feature = "experimental")]
use crate::flp::szk::SzkError;
#[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
use crate::idpf::IdpfError;
#[cfg(all(feature = "crypto-dependencies", feature = "experimental"))]
use crate::vidpf::VidpfError;
use crate::{
codec::{CodecError, Decode, Encode, ParameterizedDecode},
field::{encode_fieldvec, merge_vector, FieldElement, FieldError},
flp::{szk::SzkError, FlpError},
flp::FlpError,
prng::PrngError,
vdaf::xof::Seed,
};
Expand Down Expand Up @@ -47,6 +49,7 @@ pub enum VdafError {
Flp(#[from] FlpError),

/// SZK error.
#[cfg(feature = "experimental")]
#[error("Szk error: {0}")]
Szk(#[from] SzkError),

Expand Down

0 comments on commit d82908f

Please sign in to comment.