From e52941e5ee25d952b9a97cd2fddc1835b735c146 Mon Sep 17 00:00:00 2001 From: huklaa Date: Sat, 19 Sep 2026 16:04:59 +0300 Subject: [PATCH] docs: link Rust tutorials to runnable source --- docs/src/rust-client/create_deploy_tutorial.md | 2 ++ docs/src/rust-client/delegated_proving_tutorial.md | 2 ++ docs/src/rust-client/index.md | 2 ++ docs/src/rust-client/mappings_in_masm_how_to.md | 2 ++ docs/src/rust-client/public_account_interaction_tutorial.md | 2 ++ 5 files changed, 10 insertions(+) diff --git a/docs/src/rust-client/create_deploy_tutorial.md b/docs/src/rust-client/create_deploy_tutorial.md index c539746..9176be0 100644 --- a/docs/src/rust-client/create_deploy_tutorial.md +++ b/docs/src/rust-client/create_deploy_tutorial.md @@ -7,6 +7,8 @@ sidebar_position: 2 _Using the Miden client in Rust to create accounts and deploy faucets_ +**[View the complete runnable example on GitHub](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/create_mint_consume_send.rs)** + For toolchain requirements and shared fee helpers, see the [Rust client setup](./index.md#running-the-v016-examples). ## Overview diff --git a/docs/src/rust-client/delegated_proving_tutorial.md b/docs/src/rust-client/delegated_proving_tutorial.md index f7d8c62..a87b57e 100644 --- a/docs/src/rust-client/delegated_proving_tutorial.md +++ b/docs/src/rust-client/delegated_proving_tutorial.md @@ -7,6 +7,8 @@ sidebar_position: 12 _Using delegated proving to minimize transaction proving times on computationally constrained devices_ +**[View the complete runnable example on GitHub](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/delegated_prover.rs)** + For toolchain requirements and shared fee helpers, see the [Rust client setup](./index.md#running-the-v016-examples). ## Overview diff --git a/docs/src/rust-client/index.md b/docs/src/rust-client/index.md index 5ef55e6..59e534c 100644 --- a/docs/src/rust-client/index.md +++ b/docs/src/rust-client/index.md @@ -15,6 +15,8 @@ The Miden Rust client can be used for a variety of things, including: This section of the docs is an overview of the different things one can achieve using the Rust client, and how to implement them. +For complete runnable examples, browse the [`rust-client/src/bin`](https://github.com/0xMiden/tutorials/tree/main/rust-client/src/bin) source directory. Individual tutorials also link directly to their corresponding example where available. + ## Running the v0.16 examples The examples use Rust 1.98.1 and Miden v0.16. The repository includes the diff --git a/docs/src/rust-client/mappings_in_masm_how_to.md b/docs/src/rust-client/mappings_in_masm_how_to.md index be7f612..7e5c472 100644 --- a/docs/src/rust-client/mappings_in_masm_how_to.md +++ b/docs/src/rust-client/mappings_in_masm_how_to.md @@ -7,6 +7,8 @@ sidebar_position: 10 _Using mappings in Miden assembly for storing key value pairs_ +[View the complete runnable Rust example](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/mapping_example.rs) + For toolchain requirements and shared fee helpers, see the [Rust client setup](./index.md#running-the-v016-examples). ## Overview diff --git a/docs/src/rust-client/public_account_interaction_tutorial.md b/docs/src/rust-client/public_account_interaction_tutorial.md index fe7695d..ef0b9b2 100644 --- a/docs/src/rust-client/public_account_interaction_tutorial.md +++ b/docs/src/rust-client/public_account_interaction_tutorial.md @@ -7,6 +7,8 @@ sidebar_position: 5 _Using the Miden client in Rust to interact with public smart contracts on Miden_ +**[View the complete runnable example on GitHub](https://github.com/0xMiden/tutorials/blob/main/rust-client/src/bin/counter_contract_increment.rs)** + For toolchain requirements and shared fee helpers, see the [Rust client setup](./index.md#running-the-v016-examples). ## Overview