Skip to content

Commit

Permalink
Merge pull request #2078 from input-output-hk/jpraynaud/2030-update-d…
Browse files Browse the repository at this point in the history
…ependencies-distribution-2445

Chore: update dependencies for distribution `2445`
  • Loading branch information
jpraynaud authored Nov 5, 2024
2 parents ef41854 + 58219c4 commit fcca57d
Show file tree
Hide file tree
Showing 32 changed files with 2,652 additions and 2,021 deletions.
417 changes: 228 additions & 189 deletions Cargo.lock

Large diffs are not rendered by default.

6 changes: 3 additions & 3 deletions demo/protocol-demo/Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "mithrildemo"
version = "0.1.43"
version = "0.1.44"
authors = { workspace = true }
edition = { workspace = true }
documentation = { workspace = true }
Expand All @@ -18,8 +18,8 @@ mithril-common = { path = "../../mithril-common", features = ["fs"] }
mithril-doc = { path = "../../internal/mithril-doc" }
rand_chacha = "0.3.1"
rand_core = "0.6.4"
serde = { version = "1.0.210", features = ["derive"] }
serde_json = "1.0.128"
serde = { version = "1.0.214", features = ["derive"] }
serde_json = "1.0.132"

[target.'cfg(not(windows))'.dependencies]
# non-windows: use default rug backend
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2,22 +2,31 @@

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

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

# Update Rust dependencies
cargo update
git commit -am "chore: update Rust dependencies"

# Upgrade Rust outdated dependencies
cargo upgrade "${CARGO_UPGRADE_OPTIONS}" --verbose
cargo update
# Let the CI run the tests at the end of the script
# cargo test --all-features
git commit -am "chore: update Rust dependencies"
git commit -am "chore: upgrade Rust dependencies"

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

# Build mithril-client wasm (to have latest version used in the explorer)
pushd mithril-client-wasm || exit
make build
popd || exit

# Upgrade the documentation website dependencies
pushd docs/website || exit
make upgrade
Expand Down
Loading

0 comments on commit fcca57d

Please sign in to comment.