Skip to content

Commit e7358f2

Browse files
authored
Merge pull request #2440 from input-output-hk/djo/2430/shared_workspace_deps
refactor: shared workspace dependencies
2 parents ba1dc03 + d28614e commit e7358f2

File tree

35 files changed

+333
-331
lines changed

35 files changed

+333
-331
lines changed

Cargo.lock

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

Cargo.toml

Lines changed: 27 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -37,3 +37,30 @@ edition = "2021"
3737
homepage = "https://mithril.network"
3838
license = "Apache-2.0"
3939
repository = "https://github.com/input-output-hk/mithril/"
40+
41+
[workspace.dependencies]
42+
anyhow = "1.0.97"
43+
async-recursion = "1.1.1"
44+
async-trait = "0.1.88"
45+
chrono = { version = "0.4.40", features = ["serde"] }
46+
clap = { version = "4.5.32", features = ["derive", "env"] }
47+
config = "0.15.10"
48+
digest = { version = "0.10.7", features = ["alloc"] }
49+
hex = "0.4.3"
50+
mockall = "0.13.1"
51+
rayon = "1.10.0"
52+
rand_core = { version = "0.6.4", features = ["std"] }
53+
rand_chacha = "0.3.1"
54+
reqwest = { version = "0.12.15", default-features = false, features = ["json"] }
55+
semver = "1.0.26"
56+
serde = { version = "1.0.218", features = ["derive", "rc"] }
57+
serde_json = "1.0.140"
58+
slog = "2.7.0"
59+
slog-async = "2.8.0"
60+
slog-bunyan = "2.5.0"
61+
slog-term = "2.9.1"
62+
strum = { version = "0.27.1", features = ["derive"] }
63+
thiserror = "2.0.11"
64+
tracing = "0.1.41"
65+
tokio = { version = "1.44.1", features = ["rt", "sync", "time"] }
66+
warp = "0.3.7"

demo/protocol-demo/Cargo.toml

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -10,14 +10,14 @@ repository = { workspace = true }
1010

1111
[dependencies]
1212
blake2 = "0.10.6"
13-
clap = { version = "4.5.32", features = ["derive"] }
14-
hex = "0.4.3"
13+
clap = { workspace = true }
14+
hex = { workspace = true }
1515
mithril-common = { path = "../../mithril-common", features = ["fs"] }
1616
mithril-doc = { path = "../../internal/mithril-doc" }
17-
rand_chacha = "0.3.1"
18-
rand_core = "0.6.4"
19-
serde = { version = "1.0.219", features = ["derive"] }
20-
serde_json = "1.0.140"
17+
rand_chacha = { workspace = true }
18+
rand_core = { workspace = true }
19+
serde = { workspace = true }
20+
serde_json = { workspace = true }
2121

2222
[target.'cfg(not(windows))'.dependencies]
2323
# non-windows: use default rug backend
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "client-cardano-database-v2"
33
description = "Mithril client Cardano database example"
4-
version = "0.0.4"
4+
version = "0.0.5"
55
66
documentation = "https://mithril.network/doc"
77
edition = "2021"
@@ -10,10 +10,10 @@ license = "Apache-2.0"
1010
repository = "https://github.com/input-output-hk/mithril/"
1111

1212
[dependencies]
13-
anyhow = "1.0.97"
14-
async-trait = "0.1.88"
15-
clap = { version = "4.5.32", features = ["derive", "env"] }
13+
anyhow = { workspace = true }
14+
async-trait = { workspace = true }
15+
clap = { workspace = true }
1616
futures = "0.3.31"
1717
indicatif = "0.17.11"
1818
mithril-client = { path = "../../mithril-client", features = ["fs", "unstable"] }
19-
tokio = { version = "1.44.1", features = ["full"] }
19+
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }
Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -1,7 +1,7 @@
11
[package]
22
name = "client-cardano-database"
33
description = "Mithril client Cardano database example"
4-
version = "0.1.29"
4+
version = "0.1.30"
55
66
documentation = "https://mithril.network/doc"
77
edition = "2021"
@@ -10,10 +10,10 @@ license = "Apache-2.0"
1010
repository = "https://github.com/input-output-hk/mithril/"
1111

1212
[dependencies]
13-
anyhow = "1.0.97"
14-
async-trait = "0.1.88"
15-
clap = { version = "4.5.32", features = ["derive", "env"] }
13+
anyhow = { workspace = true }
14+
async-trait = { workspace = true }
15+
clap = { workspace = true }
1616
futures = "0.3.31"
1717
indicatif = "0.17.11"
1818
mithril-client = { path = "../../mithril-client", features = ["fs"] }
19-
tokio = { version = "1.44.1", features = ["full"] }
19+
tokio = { workspace = true, features = ["macros", "rt-multi-thread"] }

0 commit comments

Comments
 (0)