Skip to content

Commit 4fe400d

Browse files
committed
chore: manual upgrade of crates dependencies
- 'config' from '0.3.13. to '0.4.0' - 'sqlite' from '0.33.0' to '0.34.0' - 'reqwest' from '0.11.23.' to '0.12.0' which required minor adaptation in Status Code conversion with 'warp' - 'minicbor' removed as not needed anymore
1 parent 1ddcd46 commit 4fe400d

File tree

15 files changed

+224
-74
lines changed

15 files changed

+224
-74
lines changed

Cargo.lock

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

demo/protocol-demo/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@ license = { workspace = true }
99
repository = { workspace = true }
1010

1111
[dependencies]
12-
base64 = "0.21.7"
12+
base64 = "0.22.0"
1313
blake2 = "0.10.6"
1414
clap = { version = "4.4.18", features = ["derive"] }
1515
hex = "0.4.3"

internal/mithril-doc/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,7 +11,7 @@ include = ["**/*.rs", "Cargo.toml", "README.md", ".gitignore"]
1111

1212
[dependencies]
1313
clap = { version = "4.4.6", features = ["derive", "env"] }
14-
config = "0.13.3"
14+
config = "0.14.0"
1515
mithril-doc-derive = { path = "../mithril-doc-derive" }
1616

1717
[dev-dependencies]

internal/mithril-persistence/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ serde = { version = "1.0.196", features = ["derive"] }
2222
serde_json = "1.0.113"
2323
sha2 = "0.10.8"
2424
slog = "2.7.0"
25-
sqlite = { version = "0.33.0", features = ["bundled"] }
25+
sqlite = { version = "0.34.0", features = ["bundled"] }
2626
thiserror = "1.0.56"
2727
tokio = { version = "1.35.1", features = ["sync"] }
2828

mithril-aggregator/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@ async-trait = "0.1.77"
1515
chrono = { version = "0.4.33", features = ["serde"] }
1616
clap = { version = "4.4.18", features = ["derive", "env", "cargo"] }
1717
cloud-storage = "0.11.1"
18-
config = "0.13.4"
18+
config = "0.14.0"
1919
flate2 = "1.0.28"
2020
hex = "0.4.3"
2121
mithril-common = { path = "../mithril-common", features = ["full"] }
@@ -36,7 +36,7 @@ slog = { version = "2.7.0", features = [
3636
slog-async = "2.8.0"
3737
slog-bunyan = "2.5.0"
3838
slog-scope = "4.4.0"
39-
sqlite = { version = "0.33.0", features = ["bundled"] }
39+
sqlite = { version = "0.34.0", features = ["bundled"] }
4040
tar = "0.4.40"
4141
thiserror = "1.0.56"
4242
tokio = { version = "1.35.1", features = ["full"] }

mithril-client-cli/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@ async-trait = "0.1.77"
2727
chrono = { version = "0.4.33", features = ["serde"] }
2828
clap = { version = "4.4.18", features = ["derive", "env"] }
2929
cli-table = "0.4.7"
30-
config = "0.13.4"
30+
config = "0.14.0"
3131
fs2 = "0.4.3"
3232
futures = "0.3.28"
3333
human_bytes = { version = "0.4.3", features = ["fast"] }

mithril-client/Cargo.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ chrono = { version = "0.4.33", features = ["serde"] }
3131
flate2 = { version = "1.0.28", optional = true }
3232
flume = { version = "0.11.0", optional = true }
3333
futures = "0.3.30"
34-
reqwest = { version = "0.11.23", features = ["json", "stream"] }
34+
reqwest = { version = "0.12.0", features = ["json", "stream"] }
3535
semver = "1.0.21"
3636
serde = { version = "1.0.196", features = ["derive"] }
3737
serde_json = "1.0.113"

mithril-common/Cargo.toml

Lines changed: 2 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -43,11 +43,6 @@ kes-summed-ed25519 = { version = "0.2.1", features = [
4343
"serde_enabled",
4444
"sk_clone_enabled",
4545
] }
46-
minicbor = { version = "0.20", features = [
47-
"std",
48-
"half",
49-
"derive",
50-
], optional = true }
5146
nom = "7.1.3"
5247
pallas-addresses = { version = "0.24.0", optional = true }
5348
pallas-codec = { version = "0.24.0", optional = true }
@@ -58,7 +53,7 @@ pallas-traverse = { version = "0.24.0", optional = true }
5853
rand_chacha = "0.3.1"
5954
rand_core = "0.6.4"
6055
rayon = "1.8.1"
61-
reqwest = { version = "0.11.23", optional = true }
56+
reqwest = { version = "0.12.0", optional = true }
6257
semver = "1.0.21"
6358
serde = { version = "1.0.196", features = ["derive"] }
6459
serde_bytes = "0.11.14"
@@ -96,7 +91,7 @@ criterion = { version = "0.5.1", features = ["html_reports", "async_tokio"] }
9691
mockall = "0.12.1"
9792
pallas-crypto = "0.24.0"
9893
rand_core = { version = "0.6.4", features = ["getrandom"] }
99-
reqwest = { version = "0.11.23", features = ["json"] }
94+
reqwest = { version = "0.12.0", features = ["json"] }
10095
slog-async = "2.8.0"
10196
slog-scope = "4.4.0"
10297
slog-term = "2.9.0"
@@ -114,7 +109,6 @@ random = ["rand_core/getrandom"]
114109
fs = [
115110
"tokio/fs",
116111
"tokio/process",
117-
"dep:minicbor",
118112
"dep:pallas-addresses",
119113
"dep:pallas-codec",
120114
"dep:pallas-hardano",

mithril-common/src/chain_observer/model.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@ use crate::{StdError, StdResult};
1010
cfg_fs_random! {
1111
use serde::Deserialize;
1212
use anyhow::Context;
13-
use minicbor::{Decode, Decoder, decode};
13+
use pallas_codec::minicbor::{Decode, Decoder, decode};
1414
use pallas_primitives::{alonzo::PlutusData, ToCanonicalJson};
1515

1616
/// [Datum] represents an inline datum from UTxO.

mithril-relay/Cargo.toml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ repository = { workspace = true }
1313
[dependencies]
1414
anyhow = "1.0.79"
1515
clap = { version = "4.4.18", features = ["derive", "env"] }
16-
config = "0.13.4"
16+
config = "0.14.0"
1717
libp2p = { version = "0.53.2", features = [
1818
"tokio",
1919
"gossipsub",
@@ -29,7 +29,7 @@ libp2p = { version = "0.53.2", features = [
2929
] }
3030
mithril-common = { path = "../mithril-common", features = ["full"] }
3131
mithril-doc = { path = "../internal/mithril-doc" }
32-
reqwest = { version = "0.11.23", features = ["json"] }
32+
reqwest = { version = "0.12.0", features = ["json"] }
3333
serde = { version = "1.0.196", features = ["derive"] }
3434
serde_json = "1.0.113"
3535
serde_yaml = "0.9.31"

0 commit comments

Comments
 (0)