chore: bump tari crate dependency versions (0.24/0.28/0.6)#51
Conversation
- tari_template_lib/types: 0.22 -> 0.24 - tari_template_test_tooling: 0.26 -> 0.28 - ootle-rs: 0.3 -> 0.6 - tari_ootle_transaction/common_types: 0.27 -> 0.28
There was a problem hiding this comment.
Code Review
This pull request updates Tari-related dependencies across multiple example projects and WASM templates, notably bumping tari_template_lib to version 0.24 and tari_template_test_tooling to 0.28. The review feedback suggests utilizing Cargo workspaces for the guessing_game example and the wasm_templates directory to centralize dependency management and improve maintainability.
| ootle-rs = "0.6" | ||
| tari_ootle_transaction = "0.28" | ||
| tari_ootle_common_types = "0.28" | ||
| tari_template_lib_types = "0.24" |
There was a problem hiding this comment.
The cli and template packages for the guessing game example seem to be managed as separate projects, as each has its own [workspace] section. You could combine them into a single Cargo workspace to simplify dependency management and builds.
To do this, you could:
- Create a root
Cargo.tomlinexamples/guessing_game/. - Define
cliandtemplateas workspace members. - Move common dependency versions to the root
[workspace.dependencies]table. - Update
cli/Cargo.tomlandtemplate/Cargo.tomlto remove their[workspace]sections and inherit dependencies usingworkspace = true.
For example, a new examples/guessing_game/Cargo.toml could be:
[workspace]
members = ["cli", "template"]
resolver = "2"
[workspace.dependencies]
tari_template_lib = { version = "0.24" }
tari_template_lib_types = { version = "0.24" }
tari_template_test_tooling = "0.28"
ootle-rs = "0.6"
tari_ootle_transaction = "0.28"
tari_ootle_common_types = "0.28"
tari_crypto = "0.22"
tari_utilities = "0.8"This would centralize dependency versions for the entire example, making it more maintainable.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
Description
Updates dependency versions across all Cargo.toml files to match newly published crate versions.
Changes
tari_template_lib/tari_template_lib_types: 0.22 -> 0.24tari_template_test_tooling: 0.26 -> 0.28ootle-rs: 0.3 -> 0.6tari_ootle_transaction: 0.27 -> 0.28tari_ootle_common_types: 0.27 -> 0.28Affected: 13 Cargo.toml files across
wasm_templates/,examples/, andproject_templates/, plus the guessing_game Cargo.lock.