Explore Dapr Rust SDK usage examples
mainThe examples directory contains various implementations demonstrating the capabilities of the Dapr Rust SDK. You can use these as templates for your own applications. Key functional areas covered include:
- Actors: Hosting actors and making actor client calls.
- Authentication: Implementing inbound authentication on an app-callback server using
AppApiTokenLayer. - Bindings: Using Dapr input and output bindings.
- State Management: Saving, getting, and deleting state, as well as performing state queries against query-capable stores.
- Configuration: Reading and subscribing to Dapr configuration values.
- Cryptography: Performing Dapr cryptography operations.
- Service Invocation: Invoking services over gRPC or through Dapr gRPC proxying.
- Pub/Sub: Publishing and subscribing to events.
- Secrets: Retrieving secrets (including bulk retrieval).
- Workflows: Registering, running, waiting for, purging, and managing parallel or sustained workflows, including history propagation and task execution IDs.
- Jobs: Scheduling Dapr jobs and configuring failure policies.
- Conversation: Interacting with Dapr conversation components (alpha1/alpha2).