Skip to content

Commit ce70f67

Browse files
authored
Merge pull request #190 from input-output-hk/pi/dependencies
Use workspace dependencies
2 parents b99db91 + 3fe5568 commit ce70f67

File tree

28 files changed

+716
-741
lines changed

28 files changed

+716
-741
lines changed

Cargo.lock

Lines changed: 387 additions & 460 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

Cargo.toml

Lines changed: 21 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,5 +27,25 @@ members = [
2727
"processes/replayer", # All-inclusive process to replay messages
2828
"processes/golden_tests", #All-inclusive golden tests process
2929
]
30-
3130
resolver = "2"
31+
32+
[workspace.dependencies]
33+
caryatid_sdk = "0.12"
34+
caryatid_process = "0.12"
35+
caryatid_module_rest_server = "0.14"
36+
caryatid_module_clock = "0.12"
37+
caryatid_module_spy = "0.12"
38+
anyhow = "1.0"
39+
chrono = "0.4"
40+
config = "0.15.11"
41+
dashmap = "6.1.0"
42+
hex = "0.4"
43+
imbl = { version = "5.0.0", features = ["serde"] }
44+
pallas = "0.32.1"
45+
pallas-addresses = "0.32.0"
46+
pallas-crypto = "0.32.0"
47+
serde = { version = "1.0.214", features = ["derive"] }
48+
serde_json = "1.0.132"
49+
serde_with = { version = "3.12.0", features = ["hex"] }
50+
tokio = { version = "1", features = ["full"] }
51+
tracing = "0.1.40"

common/Cargo.toml

Lines changed: 14 additions & 13 deletions
Original file line numberDiff line numberDiff line change
@@ -9,32 +9,33 @@ description = "Common types, messages and helpers for Acropolis"
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
anyhow = "1.0"
12+
caryatid_sdk = { workspace = true }
13+
caryatid_module_clock = { workspace = true }
14+
caryatid_module_rest_server = { workspace = true }
15+
16+
anyhow = { workspace = true }
1317
async-trait = "0.1"
1418
bech32 = "0.11"
1519
bigdecimal = "0.4.8"
1620
bitmask-enum = "2.2"
1721
blake2 = "0.10"
1822
bs58 = "0.5"
19-
caryatid_sdk = "0.12"
20-
caryatid_module_clock = "0.12"
21-
caryatid_module_rest_server = "0.14"
22-
chrono = "0.4"
23+
chrono = { workspace = true }
2324
gcd = "2.3"
2425
fraction = "0.15"
25-
hex = "0.4"
26+
hex = { workspace = true }
2627
lf-queue = "0.1.0"
2728
num-rational = { version = "0.4.2", features = ["serde"] }
28-
serde = { version = "1.0.214", features = ["derive"] }
29-
serde_json = "1.0"
30-
serde_with = { version = "3.12.0", features = ["hex", "base64"] }
31-
tokio = { version = "1", features = ["full"] }
32-
tracing = "0.1.40"
29+
serde = { workspace = true }
30+
serde_json = { workspace = true }
31+
serde_with = { workspace = true, features = ["base64"] }
32+
tokio = { workspace = true }
33+
tracing = { workspace = true }
3334
futures = "0.3.31"
3435
minicbor = { version = "0.26.0", features = ["std", "half", "derive"] }
3536
num-traits = "0.2"
36-
imbl = { version = "5.0.0", features = ["serde"] }
37-
dashmap = "6.1.0"
37+
imbl = { workspace = true }
38+
dashmap = { workspace = true }
3839
rayon = "1.11.0"
3940

4041
[lib]

ledger-state/cddl-codegen/rust/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,4 +8,4 @@ crate-type = ["cdylib", "rlib"]
88

99
[dependencies]
1010
cbor_event = "2.4.0"
11-
hex = "0.4.3"
11+
hex = { workspace = true }

modules/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -69,10 +69,10 @@ license = "Apache-2.0"
6969
[dependencies]
7070
caryatid_sdk = "0.4.0"
7171
acropolis_common = { path = "../../common" }
72-
anyhow = "1.0"
72+
anyhow = { workspace = true }
7373
async-trait = "0.1"
74-
tokio = { version = "1", features = ["full"] }
75-
config = "0.15.11"
74+
tokio = { workspace = true }
75+
config = { workspace = true }
7676
tracing = "0.1.40"
7777

7878
[lib]

modules/accounts_state/Cargo.toml

Lines changed: 13 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -9,19 +9,21 @@ description = "Stake and rewards accounts state Tracker"
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
caryatid_sdk = "0.12"
1312
acropolis_common = { path = "../../common" }
14-
anyhow = "1.0"
15-
tokio = { version = "1", features = ["full"] }
16-
config = "0.15.11"
17-
tracing = "0.1.40"
18-
serde = { version = "1.0.214", features = ["derive"] }
19-
serde_json = "1.0.132"
20-
serde_with = { version = "3.12.0", features = ["hex"] }
21-
hex = "0.4.3"
22-
imbl = { version = "5.0.0", features = ["serde"] }
13+
14+
caryatid_sdk = { workspace = true }
15+
16+
anyhow = { workspace = true }
2317
bigdecimal = "0.4.8"
24-
chrono = "0.4.41"
18+
chrono = { workspace = true }
19+
config = { workspace = true }
20+
hex = { workspace = true }
21+
imbl = { workspace = true }
22+
serde = { workspace = true }
23+
serde_json = { workspace = true }
24+
serde_with = { workspace = true }
25+
tokio = { workspace = true }
26+
tracing = { workspace = true }
2527

2628
[lib]
2729
path = "src/accounts_state.rs"

modules/assets_state/Cargo.toml

Lines changed: 9 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -9,15 +9,17 @@ description = "Native Asset State Tracker"
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
caryatid_sdk = "0.12"
1312
acropolis_common = { path = "../../common" }
14-
config = "0.15.11"
15-
tokio = { version = "1", features = ["full"] }
16-
tracing = "0.1.40"
17-
anyhow = "1.0"
18-
imbl = { version = "5.0.0", features = ["serde"] }
19-
hex = "0.4.3"
13+
14+
caryatid_sdk = { workspace = true }
15+
16+
anyhow = { workspace = true }
17+
config = { workspace = true }
18+
hex = { workspace = true }
19+
imbl = { workspace = true }
2020
serde_cbor = "0.11"
21+
tokio = { workspace = true }
22+
tracing = { workspace = true }
2123

2224
[lib]
2325
path = "src/assets_state.rs"

modules/block_unpacker/Cargo.toml

Lines changed: 8 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,15 @@ description = "Block unpacker Caryatid module for Acropolis"
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
caryatid_sdk = "0.12"
1312
acropolis_common = { path = "../../common" }
14-
pallas = "0.32.1"
15-
anyhow = "1.0"
16-
tokio = { version = "1", features = ["full"] }
17-
config = "0.15.11"
18-
tracing = "0.1.40"
13+
14+
caryatid_sdk = { workspace = true }
15+
16+
anyhow = { workspace = true }
17+
config = { workspace = true }
18+
pallas = { workspace = true }
19+
tokio = { workspace = true }
20+
tracing = { workspace = true }
1921

2022
[lib]
2123
path = "src/block_unpacker.rs"

modules/drdd_state/Cargo.toml

Lines changed: 12 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ description = "DRep Pool Delegation Distribution State Tracker"
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
caryatid_sdk = "0.12"
13-
config = "0.15.11"
14-
anyhow = "1.0"
1512
acropolis_common = { path = "../../common" }
16-
tracing = "0.1.40"
17-
tokio = { version = "1", features = ["full"] }
18-
serde = { version = "1.0.214", features = ["derive"] }
19-
serde_json = "1.0.132"
20-
hex = "0.4.3"
21-
imbl = { version = "5.0.0", features = ["serde"] }
13+
14+
caryatid_sdk = { workspace = true }
15+
16+
anyhow = { workspace = true }
17+
config = { workspace = true }
18+
hex = { workspace = true }
19+
imbl = { workspace = true }
20+
serde = { workspace = true }
21+
serde_json = { workspace = true }
22+
tokio = { workspace = true }
23+
tracing = { workspace = true }
2224

2325
[lib]
24-
path = "src/drdd_state.rs"
26+
path = "src/drdd_state.rs"

modules/drep_state/Cargo.toml

Lines changed: 11 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -9,16 +9,18 @@ description = "DRep State Tracker"
99
license = "Apache-2.0"
1010

1111
[dependencies]
12-
caryatid_sdk = "0.12"
1312
acropolis_common = { path = "../../common" }
14-
anyhow = "1.0"
15-
tokio = { version = "1", features = ["full"] }
16-
config = "0.15.11"
17-
tracing = "0.1.40"
18-
serde = { version = "1.0.214", features = ["derive"] }
19-
serde_json = "1.0.132"
20-
serde_with = { version = "3.12.0", features = ["hex"] }
21-
hex = "0.4.3"
13+
14+
caryatid_sdk = { workspace = true }
15+
16+
anyhow = { workspace = true }
17+
config = { workspace = true }
18+
hex = { workspace = true }
19+
serde = { workspace = true }
20+
serde_json = { workspace = true }
21+
serde_with = { workspace = true }
22+
tokio = { workspace = true }
23+
tracing = { workspace = true }
2224

2325
[lib]
2426
path = "src/drep_state.rs"

0 commit comments

Comments
 (0)