Skip to content

Commit

Permalink
trimming deps
Browse files Browse the repository at this point in the history
  • Loading branch information
distractedm1nd committed Sep 11, 2024
1 parent 6eea609 commit 7ec533e
Show file tree
Hide file tree
Showing 7 changed files with 7 additions and 167 deletions.
63 changes: 0 additions & 63 deletions Cargo.lock

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

8 changes: 3 additions & 5 deletions Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -85,13 +85,11 @@ prism-groth16 = { path = "crates/groth16" }
sp1-helper = "1.2.0"

[patch.crates-io]
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.9.8" }
sha2-v0-10-6 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.6" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.8" }

[workspace.dev-dependencies]
serial_test = "3.1.1"
criterion = "0.5.1"
# [workspace.dev-dependencies]
# serial_test = "3.1.1"
# criterion = "0.5.1"

# [[bench]]
# name = "zk_benchmarks"
Expand Down
6 changes: 0 additions & 6 deletions crates/common/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,3 @@ hex.workspace = true
sha2.workspace = true
blake2.workspace = true
celestia-types.workspace = true

[patch.crates-io]
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.9.8" }
blake2 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "blake2", branch = "master" }
sha2-v0-10-6 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.6" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.8" }
44 changes: 0 additions & 44 deletions crates/errors/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,52 +7,8 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
axum = { workspace = true }
borsh = { workspace = true }
tower-http = { workspace = true }
utoipa = { workspace = true }
utoipa-swagger-ui = { workspace = true }
async-trait = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
redis = { workspace = true }
ed25519-dalek = { workspace = true }
ed25519 = { workspace = true }
base64 = { workspace = true }
tokio = { workspace = true }
bellman = { workspace = true }
bls12_381 = { workspace = true }
rand = { workspace = true }
hex = { workspace = true }
ff = { workspace = true }
log = { workspace = true }
pretty_env_logger = { workspace = true }
clap = { workspace = true }
config = { workspace = true }
thiserror = { workspace = true }
indexed-merkle-tree = { workspace = true }
dotenvy = { workspace = true }
celestia-rpc = { workspace = true }
celestia-types = { workspace = true }
mockall = { workspace = true }
keystore-rs = { workspace = true }
toml = { workspace = true }
dirs = { workspace = true }
anyhow = { workspace = true }
jmt = { workspace = true, path = "../jmt", features = ["mocks"] }
sha2 = { workspace = true }
auto_impl = { workspace = true }
prism-common = { workspace = true }

[patch.crates-io]
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.9.8" }
sha2-v0-10-6 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.6" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.8" }

[dev-dependencies]
serial_test = "3.1.1"
criterion = "0.5.1"

# [[bench]]
# name = "zk_benchmarks"
# harness = false
33 changes: 1 addition & 32 deletions crates/groth16/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -7,53 +7,22 @@ homepage.workspace = true
repository.workspace = true

[dependencies]
axum = { workspace = true }
borsh = { workspace = true }
tower-http = { workspace = true }
utoipa = { workspace = true }
utoipa-swagger-ui = { workspace = true }
async-trait = { workspace = true }
serde = { workspace = true }
serde_json = { workspace = true }
redis = { workspace = true }
ed25519-dalek = { workspace = true }
ed25519 = { workspace = true }
base64 = { workspace = true }
tokio = { workspace = true }
bellman = { workspace = true }
bls12_381 = { workspace = true }
rand = { workspace = true }
hex = { workspace = true }
ff = { workspace = true }
log = { workspace = true }
pretty_env_logger = { workspace = true }
clap = { workspace = true }
config = { workspace = true }
thiserror = { workspace = true }
indexed-merkle-tree = { workspace = true }
dotenvy = { workspace = true }
celestia-rpc = { workspace = true }
celestia-types = { workspace = true }
mockall = { workspace = true }
keystore-rs = { workspace = true }
toml = { workspace = true }
dirs = { workspace = true }
anyhow = { workspace = true }
jmt = { workspace = true, path = "../jmt", features = ["mocks"] }
jmt = { workspace = true }
sha2 = { workspace = true }
auto_impl = { workspace = true }
prism-common = { workspace = true }
prism-errors = { workspace = true }

[patch.crates-io]
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.9.8" }
sha2-v0-10-6 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.6" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.8" }

[dev-dependencies]
serial_test = "3.1.1"
criterion = "0.5.1"

# [[bench]]
# name = "zk_benchmarks"
# harness = false
9 changes: 2 additions & 7 deletions crates/nova/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -21,16 +21,11 @@ thiserror = { workspace = true }
indexed-merkle-tree = { workspace = true }
celestia-types = { workspace = true }
anyhow = { workspace = true }
jmt = { workspace = true, path = "../jmt", features = ["mocks"] }
jmt = { workspace = true }
bellpepper-core = { workspace = true }
bellpepper = { workspace = true }
arecibo = { workspace = true, git = "https://github.com/deltadevsde/arecibo" }
arecibo = { workspace = true }
itertools = { workspace = true }
sha2 = { workspace = true }
bincode = { workspace = true }
prism-common = { workspace = true }

[patch.crates-io]
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.9.8" }
sha2-v0-10-6 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.6" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.8" }
11 changes: 1 addition & 10 deletions crates/prism/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -39,22 +39,13 @@ keystore-rs = { workspace = true }
toml = { workspace = true }
dirs = { workspace = true }
anyhow = { workspace = true }
jmt = { workspace = true, path = "../jmt", features = ["mocks"] }
jmt = { workspace = true }
sha2 = { workspace = true }
auto_impl = { workspace = true }
prism-common = { workspace = true }
prism-errors = { workspace = true }
prism-groth16 = { workspace = true }

[patch.crates-io]
sha2-v0-9-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.9.8" }
sha2-v0-10-6 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.6" }
sha2-v0-10-8 = { git = "https://github.com/sp1-patches/RustCrypto-hashes", package = "sha2", branch = "patch-sha2-v0.10.8" }

[dev-dependencies]
serial_test = "3.1.1"
criterion = "0.5.1"

# [[bench]]
# name = "zk_benchmarks"
# harness = false

0 comments on commit 7ec533e

Please sign in to comment.