From d44d4bae178f47706983c9694e83f6ca5bc474e2 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Fri, 31 May 2024 12:22:49 -0400 Subject: [PATCH 1/3] add rust submodule Signed-off-by: Hannah Hunter --- .gitmodules | 3 +++ sdkdocs/rust | 1 + 2 files changed, 4 insertions(+) create mode 160000 sdkdocs/rust diff --git a/.gitmodules b/.gitmodules index 4a973eee9..2daed9e14 100644 --- a/.gitmodules +++ b/.gitmodules @@ -29,3 +29,6 @@ [submodule "sdkdocs/pluggable-components/go"] path = sdkdocs/pluggable-components/go url = https://github.com/dapr-sandbox/components-go-sdk +[submodule "sdkdocs/rust"] + path = sdkdocs/rust + url = https://github.com/dapr/rust-sdk.git diff --git a/sdkdocs/rust b/sdkdocs/rust new file mode 160000 index 000000000..ed283c2e2 --- /dev/null +++ b/sdkdocs/rust @@ -0,0 +1 @@ +Subproject commit ed283c2e259c21cc77a24b3dbc03733103455f1b From d03aeeef3bb380d5f70487d11f4648b41be1df16 Mon Sep 17 00:00:00 2001 From: Hannah Hunter Date: Mon, 3 Jun 2024 12:14:32 -0400 Subject: [PATCH 2/3] add mount for rust Signed-off-by: Hannah Hunter --- daprdocs/config.toml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/daprdocs/config.toml b/daprdocs/config.toml index cfb0b71ac..4ea4fba47 100644 --- a/daprdocs/config.toml +++ b/daprdocs/config.toml @@ -103,6 +103,14 @@ id = "G-60C6Q1ETC1" source = "../sdkdocs/js/daprdocs/content/en/js-sdk-contributing" target = "content/contributing/sdk-contrib/" lang = "en" + [[module.mounts]] + source = "../sdkdocs/rust/daprdocs/content/en/rust-sdk-docs" + target = "content/developing-applications/sdks/rust" + lang = "en" + [[module.mounts]] + source = "../sdkdocs/rust/daprdocs/content/en/rust-sdk-contributing" + target = "content/contributing/sdks-contrib" + lang = "en" [[module.mounts]] source = "../translations/docs-zh/translated_content/zh_CN/docs" From a53f05d683c1036520f1acb9921de22643d7d5a6 Mon Sep 17 00:00:00 2001 From: Mike Nguyen Date: Mon, 3 Jun 2024 17:33:05 +0100 Subject: [PATCH 3/3] docs: migrate rust github link to docs Signed-off-by: Mike Nguyen --- daprdocs/content/en/developing-applications/sdks/_index.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/daprdocs/content/en/developing-applications/sdks/_index.md b/daprdocs/content/en/developing-applications/sdks/_index.md index b4a16e454..909055fb0 100644 --- a/daprdocs/content/en/developing-applications/sdks/_index.md +++ b/daprdocs/content/en/developing-applications/sdks/_index.md @@ -29,7 +29,7 @@ Select your [preferred language below]({{< ref "#sdk-languages" >}}) to learn mo | [PHP]({{< ref php >}}) | Stable | ✔ | ✔ | ✔ | | | [Javascript]({{< ref js >}}) | Stable| ✔ | | ✔ | ✔ | | [C++](https://github.com/dapr/cpp-sdk) | In development | ✔ | | | -| [Rust](https://github.com/dapr/rust-sdk) | In development | ✔ | | ✔ | | +| [Rust]({{< ref rust >}}) | In development | ✔ | | ✔ | | ## Further reading