Skip to content

chore: bump tari crate dependency versions (0.24/0.28/0.6)#51

Merged
sdbondi merged 3 commits intomainfrom
update-deps-again
Apr 10, 2026
Merged

chore: bump tari crate dependency versions (0.24/0.28/0.6)#51
sdbondi merged 3 commits intomainfrom
update-deps-again

Conversation

@sdbondi
Copy link
Copy Markdown
Member

@sdbondi sdbondi commented Apr 9, 2026

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.24
  • tari_template_test_tooling: 0.26 -> 0.28
  • ootle-rs: 0.3 -> 0.6
  • tari_ootle_transaction: 0.27 -> 0.28
  • tari_ootle_common_types: 0.27 -> 0.28

Affected: 13 Cargo.toml files across wasm_templates/, examples/, and project_templates/, plus the guessing_game Cargo.lock.

- 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
Copy link
Copy Markdown

@gemini-code-assist gemini-code-assist bot left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

Comment on lines +13 to +16
ootle-rs = "0.6"
tari_ootle_transaction = "0.28"
tari_ootle_common_types = "0.28"
tari_template_lib_types = "0.24"
Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

medium

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:

  1. Create a root Cargo.toml in examples/guessing_game/.
  2. Define cli and template as workspace members.
  3. Move common dependency versions to the root [workspace.dependencies] table.
  4. Update cli/Cargo.toml and template/Cargo.toml to remove their [workspace] sections and inherit dependencies using workspace = 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.

sdbondi and others added 2 commits April 9, 2026 17:19
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@sdbondi sdbondi merged commit a70ada9 into main Apr 10, 2026
3 checks passed
@sdbondi sdbondi deleted the update-deps-again branch April 10, 2026 10:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant