{"id":15699255,"url":"https://github.com/thangchung/actix-dapr-rs","last_synced_at":"2025-10-07T00:08:49.656Z","repository":{"id":138511362,"uuid":"365249895","full_name":"thangchung/actix-dapr-rs","owner":"thangchung","description":"Make dapr-rs working with actix-web better","archived":false,"fork":false,"pushed_at":"2021-05-08T10:34:07.000Z","size":62,"stargazers_count":6,"open_issues_count":0,"forks_count":4,"subscribers_count":2,"default_branch":"main","last_synced_at":"2025-05-09T02:42:27.166Z","etag":null,"topics":["actix-web","dapr","rust","rust-sdk","tokio","tonic","webapp"],"latest_commit_sha":null,"homepage":"","language":"Rust","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/thangchung.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null}},"created_at":"2021-05-07T13:53:58.000Z","updated_at":"2024-04-02T17:49:26.000Z","dependencies_parsed_at":null,"dependency_job_id":"f60d6f4b-ed27-485a-a1da-c6bb80caf9b9","html_url":"https://github.com/thangchung/actix-dapr-rs","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/thangchung/actix-dapr-rs","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Factix-dapr-rs","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Factix-dapr-rs/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Factix-dapr-rs/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Factix-dapr-rs/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/thangchung","download_url":"https://codeload.github.com/thangchung/actix-dapr-rs/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/thangchung%2Factix-dapr-rs/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":278699035,"owners_count":26030442,"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-10-06T02:00:05.630Z","response_time":65,"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":["actix-web","dapr","rust","rust-sdk","tokio","tonic","webapp"],"created_at":"2024-10-03T19:39:23.651Z","updated_at":"2025-10-07T00:08:49.635Z","avatar_url":"https://github.com/thangchung.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# What we do in this project?\n\nWe want to use `dapr` with `dapr-rs`, but also wants to run `actix-web` and other gRPC lib such as `tonic` in the same?\n\n# Why we did that?\n\n`dapr-rust-sdk` is only with very basic sample on `tokio`, but what we want to do is more :) We want to combine all of them together (`dapr` + `actix-web` + `tokio` + `tonic`). Let do it to see how far we can go there :)\n\n# How to run\n\nMake sure you have `dapr` CLI on local machine:\n\n\u003e CLI version: 1.1.0\n\u003e\n\u003e Runtime version: 1.1.2\n\n```bash\n$ dapr init\n```\n\n## Run standalone mode\n\n```bash\n$  dapr run --app-id rust-subscriber --app-protocol grpc --app-port 50010 --log-level debug cargo run\n```\n\nThen\n\n```bash\n$ dapr run --app-id rust-publisher --app-protocol grpc --log-level debug cargo run\n```\n\nYou should see the ping and pong message on the subscriber console!\n\nAnd you can call `Helloworld` on `50010` - `http2` as well as access to `http://127.0.0.1:8088/index.html` =))\n\n![](assets/grpc_hello_world.png)\n\n## Run on docker-compose\n\nIf you run `dapr` CLI before on your local machine, plz make sure you run\n\n```bash\n$ dapr uninstall --all\n```\n\nAnd now run the following commands:\n\n```bash\n$ docker-compose build\n$ docker-compose up\n```\n\nHappy hacking!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthangchung%2Factix-dapr-rs","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fthangchung%2Factix-dapr-rs","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fthangchung%2Factix-dapr-rs/lists"}