Skip to content

Commit fcca57d

Browse files
authored
Merge pull request #2078 from input-output-hk/jpraynaud/2030-update-dependencies-distribution-2445
Chore: update dependencies for distribution `2445`
2 parents ef41854 + 58219c4 commit fcca57d

File tree

32 files changed

+2652
-2021
lines changed

32 files changed

+2652
-2021
lines changed

Cargo.lock

Lines changed: 228 additions & 189 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: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
[package]
22
name = "mithrildemo"
3-
version = "0.1.43"
3+
version = "0.1.44"
44
authors = { workspace = true }
55
edition = { workspace = true }
66
documentation = { workspace = true }
@@ -18,8 +18,8 @@ mithril-common = { path = "../../mithril-common", features = ["fs"] }
1818
mithril-doc = { path = "../../internal/mithril-doc" }
1919
rand_chacha = "0.3.1"
2020
rand_core = "0.6.4"
21-
serde = { version = "1.0.210", features = ["derive"] }
22-
serde_json = "1.0.128"
21+
serde = { version = "1.0.214", features = ["derive"] }
22+
serde_json = "1.0.132"
2323

2424
[target.'cfg(not(windows))'.dependencies]
2525
# non-windows: use default rug backend

docs/devbook/upgrade-repository-dependencies/upgrade_dependencies.sh

Lines changed: 11 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,22 +2,31 @@
22

33
# get command line arguments to pass them to `cargo upgrade` command
44
# By default, we allow upgrading all dependencies to the latest one.
5-
# If you want to upgrade only to the compatible version, launch script with option `--compatbile`
5+
# If you want to upgrade only to the compatible version, launch script with option `--compatible`
66
CARGO_UPGRADE_OPTIONS=${*:-"--incompatible"}
77

88
# Need to install `cargo-edit` to execute `cargo upgrade` and `cargo set-version` commands
99

10+
# Update Rust dependencies
11+
cargo update
12+
git commit -am "chore: update Rust dependencies"
13+
1014
# Upgrade Rust outdated dependencies
1115
cargo upgrade "${CARGO_UPGRADE_OPTIONS}" --verbose
1216
cargo update
1317
# Let the CI run the tests at the end of the script
1418
# cargo test --all-features
15-
git commit -am "chore: update Rust dependencies"
19+
git commit -am "chore: upgrade Rust dependencies"
1620

1721
# Bump Rust crates versions
1822
cargo set-version --bump patch
1923
git commit -am "chore: bump crates versions"
2024

25+
# Build mithril-client wasm (to have latest version used in the explorer)
26+
pushd mithril-client-wasm || exit
27+
make build
28+
popd || exit
29+
2130
# Upgrade the documentation website dependencies
2231
pushd docs/website || exit
2332
make upgrade

0 commit comments

Comments
 (0)