Skip to content

Commit d1d6abc

Browse files
committed
tools/Cargo: use workspace as often as possible
1 parent 6e98f8f commit d1d6abc

File tree

4 files changed

+14
-21
lines changed

4 files changed

+14
-21
lines changed

tools/fuzzing/Cargo.toml

Lines changed: 6 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -10,35 +10,31 @@ ark-serialize = { workspace = true }
1010
bitvec = { workspace = true }
1111
btreemultimap = { workspace = true }
1212
flate2 = { workspace = true }
13+
itertools = { workspace = true }
1314
leb128 = { workspace = true }
14-
ledger = { path = "../../ledger", package = "mina-tree", features = [
15-
"fuzzing",
16-
] }
15+
ledger = { workspace = true, package = "mina-tree", features = ["fuzzing"] }
1716
md5 = { workspace = true }
18-
mina-core = { path = "../../core" }
17+
mina-core = { workspace = true }
1918
mina-curves = { workspace = true }
2019
mina-hasher = { workspace = true }
2120
mina-p2p-messages = { workspace = true }
2221
mina-signer = { workspace = true }
22+
num-bigint = { workspace = true }
2323
object = { workspace = true }
24+
once_cell = { workspace = true }
2425
poseidon = { workspace = true }
2526
rand = { workspace = true, features = ["small_rng"] }
2627
ring_buffer = { workspace = true }
2728
rsprocmaps = { workspace = true }
2829
serde = { workspace = true, features = ["derive"] }
2930
serde_json = { workspace = true }
30-
#ark-ff = { git = "https://github.com/openmina/algebra", branch = "openmina", features = [ "parallel", "asm", "std" ] }
31-
#ark-ec = { git = "https://github.com/openmina/algebra", branch = "openmina", features = [ "std" ] }
32-
itertools = { workspace = true }
33-
num-bigint = { workspace = true }
34-
once_cell = { workspace = true }
3531
text-diff = { workspace = true }
3632
tuple-map = { workspace = true }
3733
#binprot = "0.1.7"
3834
binprot = { workspace = true }
3935
binprot_derive = { workspace = true }
4036
clap = { workspace = true }
41-
node = { path = "../../node" }
37+
node = { workspace = true }
4238

4339
[profile.release]
4440
opt-level = 3

tools/gossipsub-sandbox/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ bs58 = { workspace = true, features = ["check"] }
88
env_logger = { workspace = true }
99
libp2p = { workspace = true }
1010
log = { workspace = true }
11-
mina-transport = { path = "../transport" }
11+
mina-transport = { workspace = true }
1212
rand = { workspace = true }
1313
structopt = { workspace = true }
1414
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

tools/ledger-tool/Cargo.toml

Lines changed: 5 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -5,14 +5,12 @@ edition = "2021"
55

66
[dependencies]
77
anyhow = { workspace = true }
8+
ledger = { workspace = true, package = "mina-tree" }
9+
mina-curves = { workspace = true }
10+
mina-p2p-messages = { workspace = true }
11+
mina-signer = { workspace = true }
12+
node = { workspace = true }
813
reqwest = { workspace = true, features = ["blocking"] }
914
serde = { workspace = true }
1015
serde_json = { workspace = true, features = ["preserve_order"] }
1116
structopt = { workspace = true }
12-
13-
ledger = { path = "../../ledger", package = "mina-tree" }
14-
15-
mina-curves = { workspace = true }
16-
mina-p2p-messages = { workspace = true }
17-
mina-signer = { workspace = true }
18-
node = { path = "../../node" }

tools/transport/Cargo.toml

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -6,9 +6,6 @@ edition = "2021"
66
[dependencies]
77
blake2 = { workspace = true }
88
hex = { workspace = true }
9-
log = { workspace = true }
10-
pin-project-lite = { workspace = true }
11-
129
libp2p = { workspace = true, features = [
1310
"tokio",
1411
"noise",
@@ -18,3 +15,5 @@ libp2p = { workspace = true, features = [
1815
"dns",
1916
"gossipsub",
2017
] }
18+
log = { workspace = true }
19+
pin-project-lite = { workspace = true }

0 commit comments

Comments
 (0)