Skip to content

Commit

Permalink
feat: make merlin dependency optional
Browse files Browse the repository at this point in the history
  • Loading branch information
JayWhite2357 committed Sep 26, 2024
1 parent 790718f commit d59ec73
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 1 deletion.
4 changes: 3 additions & 1 deletion crates/proof-of-sql/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ derive_more = { workspace = true }
indexmap = { workspace = true, features = ["serde"] }
itertools = { workspace = true }
lazy_static = { workspace = true }
merlin = { workspace = true }
merlin = { workspace = true, optional = true }
num-traits = { workspace = true }
num-bigint = { workspace = true, default-features = false }
postcard = { workspace = true, features = ["alloc"] }
Expand All @@ -58,6 +58,7 @@ blitzar = { workspace = true }
clap = { workspace = true, features = ["derive"] }
criterion = { workspace = true, features = ["html_reports"] }
# forge-script = { workspace = true }
merlin = { workspace = true }
opentelemetry = { workspace = true }
opentelemetry-jaeger = { workspace = true }
rand = { workspace = true, default-features = false }
Expand All @@ -75,6 +76,7 @@ development = ["arrow-csv"]
[features]
default = ["arrow", "blitzar", "rayon"]
arrow = ["dep:arrow"]
blitzar = ["dep:blitzar", "dep:merlin"]
test = ["dep:rand"]

[lints]
Expand Down
1 change: 1 addition & 0 deletions crates/proof-of-sql/src/base/proof/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4,6 +4,7 @@ mod error;
pub use error::ProofError;

/// Contains an extension trait for `merlin::Transcript`, which is used to construct a proof.
#[cfg(any(test, feature = "blitzar"))]
mod merlin_transcript_core;

mod transcript;
Expand Down

0 comments on commit d59ec73

Please sign in to comment.