Skip to content
This repository has been archived by the owner on Apr 9, 2024. It is now read-only.

Commit

Permalink
chore: update dependencies to account for crate split
Browse files Browse the repository at this point in the history
  • Loading branch information
TomAFrench committed Sep 19, 2023
1 parent 979ea2e commit d90c36f
Show file tree
Hide file tree
Showing 5 changed files with 7 additions and 30 deletions.
5 changes: 0 additions & 5 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

1 change: 1 addition & 0 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -20,6 +20,7 @@ barretenberg_blackbox_solver = { version = "0.26.1", path = "barretenberg_blackb

bincode = "1.3.3"

hex = "0.4.2"
num-bigint = "0.4"
num-traits = "0.2"

Expand Down
2 changes: 1 addition & 1 deletion acir_field/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@ repository.workspace = true
# See more keys and their definitions at https://doc.rust-lang.org/cargo/reference/manifest.html

[dependencies]
hex = "0.4.2"
hex.workspace = true
num-bigint.workspace = true
serde.workspace = true

Expand Down
27 changes: 4 additions & 23 deletions barretenberg_blackbox_solver/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "barretenberg_blackbox_solver"
description = "Something about bb"
description = "A wrapper around a barretenberg WASM binary to execute black box functions for which there is no rust implementation"
version = "0.26.1"
authors.workspace = true
edition.workspace = true
Expand All @@ -14,47 +14,28 @@ repository.workspace = true
acir.workspace = true
acvm_blackbox_solver.workspace = true
thiserror.workspace = true

blake2 = "0.10.6"
sha2 = "0.10.6"
sha3 = "0.10.6"
k256 = { version = "0.11.0", features = [
"ecdsa",
"ecdsa-core",
"sha256",
"digest",
"arithmetic",
] }
p256 = { version = "0.11.0", features = [
"ecdsa",
"ecdsa-core",
"sha256",
"digest",
"arithmetic",
] }
hex = "0.4.2"
hex.workspace = true
num-bigint.workspace = true

# Barretenberg WASM dependencies
rust-embed = { version = "6.6.0", features = [
"debug-embed",
"interpolate-folder-path",
"include-exclude",
] }

[target.'cfg(target_arch = "wasm32")'.dependencies]
wasmer = { version = "3.3", default-features = false, features = [
"js-default",
] }

getrandom = { version = "0.2", features = ["js"] }
wasm-bindgen-futures = "0.4.36"
js-sys = "0.3.62"


[target.'cfg(not(target_arch = "wasm32"))'.dependencies]
getrandom = "0.2"
wasmer = "3.3"


[build-dependencies]
pkg-config = "0.3"
tar = "~0.4.15"
Expand Down
2 changes: 1 addition & 1 deletion blackbox_solver/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ pub enum BlackBoxResolutionError {

/// This component will generate outputs for Blackbox function calls where the underlying [`acir::BlackBoxFunc`]
/// doesn't have a canonical Rust implementation.
///o
///
/// Returns an [`BlackBoxResolutionError`] if the backend does not support the given [`acir::BlackBoxFunc`].
pub trait BlackBoxFunctionSolver {
fn schnorr_verify(
Expand Down

0 comments on commit d90c36f

Please sign in to comment.