Skip to content

feat: runnable examples#96

Merged
mmagician merged 28 commits intomainfrom
mmagician-runnable-examples
Aug 11, 2025
Merged

feat: runnable examples#96
mmagician merged 28 commits intomainfrom
mmagician-runnable-examples

Conversation

@mmagician
Copy link
Collaborator

@mmagician mmagician commented Aug 5, 2025

All rust-client tutorials are runnable with cargo test --doc --release (from the docs directory), except for the oracle one (pending the contract update).

@mmagician mmagician mentioned this pull request Aug 5, 2025
@mmagician mmagician marked this pull request as ready for review August 6, 2025 10:39
@mmagician mmagician requested review from Dominik1999 and partylikeits1983 and removed request for partylikeits1983 August 6, 2025 10:39
…n permissions

Co-authored-by: Copilot Autofix powered by AI <62310815+github-advanced-security[bot]@users.noreply.github.com>

This comment was marked as resolved.

Copy link
Collaborator

@Dominik1999 Dominik1999 left a comment

Choose a reason for hiding this comment

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

Thank you very much. I love that approach, this will help us to maintain our tutorials way easier.

Some comments:

  • You changed the code snippets and added some code in a uncommented state, can you explain the reasoning behind it?
  • Can we do the same for the WebClient tutorials? I think the WebClient will be even more important than the Rust client

Copy link
Collaborator

@partylikeits1983 partylikeits1983 left a comment

Choose a reason for hiding this comment

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

This is amazing, thank you! This is going to save a lot of time.

Copy link
Collaborator

@Dominik1999 Dominik1999 left a comment

Choose a reason for hiding this comment

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

Thanks, now I understand the usage of #

@mmagician mmagician merged commit 827f6e4 into main Aug 11, 2025
4 checks passed
@mmagician mmagician deleted the mmagician-runnable-examples branch August 11, 2025 07:36
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.

4 participants