When contributing to the Rust SDK the following rules and best-practices should be followed.
The examples
directory contains code samples for users to run to try out specific functionality of the various Rust SDK packages and extensions. It also hosts component examples used for validation. When writing new and updated samples keep in mind:
The daprdocs
directory contains the markdown files that are rendered into the Dapr Docs website. When the documentation website is built this repo is cloned and configured so that its contents are rendered with the docs content. When writing docs keep in mind:
rust-
to ensure all file/directory names are globally unique across all Dapr documentation.To pull the protobufs from the dapr/dapr
repo you can run the script in the repo root like so:
./update-protos.sh
By default, the script fetches the latest proto updates from the master branch of the Dapr repository. If you need to choose a specific release or version, use the -v flag:
./update-protos.sh -v v1.13.0