Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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
Loading