Skip to content

Commit

Permalink
Re-export ark-sponge.
Browse files Browse the repository at this point in the history
Since we depend on a git version of ark-sponge, re-exporting it here means
our deps can access it without having to keep git revisions in sync.

Going forward, this re-export should be removed and the functionality our
deps need from direct use of ark-sponge should be folded into this crate.
However, it's faster to iterate on required functionality without imposing
hard compartmentalization boundaries from the start.
  • Loading branch information
hdevalence committed Oct 3, 2021
1 parent eda853b commit 481dcea
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,15 @@ mod sponge;

pub mod params;

// Since we depend on a git version of ark-sponge, re-exporting it here means
// our deps can access it without having to keep git revisions in sync.
//
// Going forward, this re-export should be removed and the functionality our
// deps need from direct use of ark-sponge should be folded into this crate.
// However, it's faster to iterate on required functionality without imposing
// hard compartmentalization boundaries from the start.
pub use ark_sponge;

#[cfg(test)]
mod tests {
use super::*;
Expand Down

0 comments on commit 481dcea

Please sign in to comment.