Skip to content

Commit

Permalink
Cleanup dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
rakanalh committed Jul 16, 2024
1 parent 8115b42 commit 63003b7
Show file tree
Hide file tree
Showing 5 changed files with 36 additions and 74 deletions.
9 changes: 0 additions & 9 deletions Cargo.lock

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

2 changes: 0 additions & 2 deletions bin/citrea/provers/risc0/guest-bitcoin/Cargo.lock

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

2 changes: 0 additions & 2 deletions bin/citrea/provers/risc0/guest-mock/Cargo.lock

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

96 changes: 36 additions & 60 deletions crates/sovereign-sdk/full-node/sov-stf-runner/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,90 +1,66 @@
[package]
name = "sov-stf-runner"
version = { workspace = true }
authors = { workspace = true }
description = "Runs Sovereign SDK rollups and their verifiers"
edition = { workspace = true }
homepage = { workspace = true }
license = { workspace = true }
repository = { workspace = true }
version = { workspace = true }
readme = "README.md"
repository = { workspace = true }
resolver = "2"
description = "Runs Sovereign SDK rollups and their verifiers"

[dependencies]
# 3rd-Party deps
anyhow = { workspace = true }
backoff = { workspace = true, optional = true }
num_cpus = { workspace = true }
thiserror = { workspace = true, optional = true }
async-trait = { workspace = true, optional = true }
borsh = { workspace = true }
serde_json = { workspace = true }
serde = { workspace = true }
toml = { workspace = true, optional = true }
rs_merkle = { workspace = true }
futures = { workspace = true, optional = true }
hex = { workspace = true }
hyper = { workspace = true, optional = true }
jsonrpsee = { workspace = true, features = ["http-client", "server"], optional = true }
num_cpus = { workspace = true }
rand = { workspace = true, optional = true }
jsonrpsee = { workspace = true, features = [
"http-client",
"server",
], optional = true }
serde = { workspace = true }
serde_json = { workspace = true }
thiserror = { workspace = true, optional = true }
tokio = { workspace = true, optional = true }
hex = { workspace = true }
toml = { workspace = true, optional = true }
tower = { workspace = true, optional = true }
tracing = { workspace = true, optional = true }
futures = { workspace = true, optional = true }
async-trait = { workspace = true, optional = true }
rayon = { workspace = true, optional = true }
sov-db = { path = "../db/sov-db", optional = true }
sov-rollup-interface = { path = "../../rollup-interface" }
sov-modules-stf-blueprint = { path = "../../module-system/sov-modules-stf-blueprint" }
sequencer-client = { path = "../../../sequencer-client", optional = true }

# Sovereign-SDK deps
sov-db = { path = "../db/sov-db", optional = true }
sov-modules-api = { path = "../../module-system/sov-modules-api", default-features = false }
sov-rollup-interface = { path = "../../rollup-interface" }

# Citrea-Deps
shared-backup-db = { path = "../../../shared-backup-db", optional = true }

tower-http = { workspace = true, optional = true }
tower = { workspace = true, optional = true }
hyper = { workspace = true, optional = true }

[dev-dependencies]
tempfile = { workspace = true }
sha2 = { workspace = true }

sov-modules-stf-blueprint = { path = "../../module-system/sov-modules-stf-blueprint", features = [
"native",
] }

sov-state = { path = "../../module-system/sov-state", features = ["native"] }
sov-modules-api = { path = "../../module-system/sov-modules-api", features = [
"native",
] }
sov-stf-runner = { path = ".", features = ["mock"] }
tempfile = { workspace = true }

sov-mock-da = { path = "../../adapters/mock-da", features = ["native"] }
sov-mock-zkvm = { path = "../../adapters/mock-zkvm" }
sov-prover-storage-manager = { path = "../sov-prover-storage-manager", features = [
"test-utils",
] }

sov-modules-api = { path = "../../module-system/sov-modules-api", features = ["native"] }
sov-prover-storage-manager = { path = "../sov-prover-storage-manager", features = ["test-utils"] }
sov-state = { path = "../../module-system/sov-state", features = ["native"] }

[features]
default = []
mock = ["native"]
native = [
"sov-db",
"sequencer-client",
"sov-modules-api/native",
"sov-modules-stf-blueprint/native",
"jsonrpsee",
"toml",
"tokio",
"tracing",
"futures",
"async-trait",
"rayon",
"thiserror",
"shared-backup-db",
"backoff",
"rand",
"tower-http",
"tower",
"hyper",
"sov-db",
"sov-modules-api/native",
"jsonrpsee",
"toml",
"tokio",
"tracing",
"futures",
"async-trait",
"thiserror",
"shared-backup-db",
"rand",
"tower",
"hyper",
]
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ resolver = "2"
description = "This crate contains abstractions needed to create a new rollup"

[dependencies]
sequencer-client = { path = "../../../sequencer-client" }
sov-cli = { path = "../../module-system/sov-cli" }
sov-modules-api = { path = "../../module-system/sov-modules-api", features = ["native"] }
sov-rollup-interface = { path = "../../rollup-interface", features = ["native"] }
Expand Down

0 comments on commit 63003b7

Please sign in to comment.