{"id":16714187,"url":"https://github.com/flier/rust-dapr","last_synced_at":"2025-08-09T23:04:38.509Z","repository":{"id":57616027,"uuid":"217496930","full_name":"flier/rust-dapr","owner":"flier","description":"Dapr SDK for Rust","archived":false,"fork":false,"pushed_at":"2019-10-30T04:02:39.000Z","size":31,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":2,"default_branch":"master","last_synced_at":"2025-07-11T06:06:27.022Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/flier.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-10-25T09:14:13.000Z","updated_at":"2024-11-12T19:02:01.000Z","dependencies_parsed_at":"2022-08-27T07:30:47.698Z","dependency_job_id":null,"html_url":"https://github.com/flier/rust-dapr","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/flier/rust-dapr","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Frust-dapr","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Frust-dapr/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Frust-dapr/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Frust-dapr/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/flier","download_url":"https://codeload.github.com/flier/rust-dapr/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/flier%2Frust-dapr/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":269649848,"owners_count":24453541,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","status":"online","status_checked_at":"2025-08-09T02:00:10.424Z","response_time":111,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-10-12T20:49:48.886Z","updated_at":"2025-08-09T23:04:38.481Z","avatar_url":"https://github.com/flier.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Dapr SDK for Rust\n\nDapr is a portable, event-driven, serverless runtime for building distributed applications across cloud and edge.\n\nThis is the Dapr SDK for Rust, based on the auto-generated protobuf client.\n\nFor more info on Dapr and gRPC, visit [this link](https://github.com/dapr/docs/tree/master/howto/create-grpc-app).\n\n## Features\n\n- Dapr [Runtime API](https://github.com/dapr/docs/tree/master/reference/api) with `dapr::Runtime`\n- Dapr Client with `#[dapr::service]`\n\n## Getting Started\n\n### Rust Version\n\n`dapr` currently works on rust `1.39-beta` and above as it requires support for the `async_await` feature. To install the beta simply follow the commands below:\n\n```sh\n$ rustup install beta\n$ rustup component add rustfmt --toolchain beta\n$ cargo +beta build\n```\n\n### Tutorials\n\nThe [examples](https://github.com/flier/rust-dapr/tree/master/dapr/examples) folder contains a Dapr enabled app that receives events ([client](https://github.com/flier/rust-dapr/blob/master/dapr/examples/client.rs)), and a caller that invokes the Dapr API ([caller](https://github.com/flier/rust-dapr/blob/master/dapr/examples/caller.rs)).\n\n#### Run the client\n\n```sh\n$ cargo +beta build --example client\n$ dapr run --log-level debug --protocol grpc --port 3500 --grpc-port 3600 --app-id client --app-port 4000 target/debug/examples/client\n```\n\n#### Run the caller\n\n```sh\n$ DAPR_GRPC_PORT=3600 cargo +beta run --example caller\n```\n\n**Note:** If you don't setup a Dapr binding, expect the error message\n\u003e Error: Status { code: Unknown, message: \"ERR_INVOKE_OUTPUT_BINDING: couldn\\'t find output binding storage\" }\n\n## License\n\nThis project is licensed under the [MIT](https://spdx.org/licenses/MIT.html) license.\n\n### Contribution\n\nUnless you explicitly state otherwise, any contribution intentionally submitted for inclusion in Tonic by you, shall be licensed as MIT, without any additional terms or conditions.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflier%2Frust-dapr","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fflier%2Frust-dapr","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fflier%2Frust-dapr/lists"}