{"id":30760694,"url":"https://github.com/kayleexx/rust-grpc","last_synced_at":"2026-06-28T20:31:51.443Z","repository":{"id":309218790,"uuid":"1035518131","full_name":"Kayleexx/rust-gRPC","owner":"Kayleexx","description":null,"archived":false,"fork":false,"pushed_at":"2025-08-10T15:17:46.000Z","size":11,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2025-10-30T21:10:31.114Z","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/Kayleexx.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-08-10T15:13:35.000Z","updated_at":"2025-08-11T13:11:51.000Z","dependencies_parsed_at":null,"dependency_job_id":"a50833dd-7472-420b-96e0-57567dc2acaa","html_url":"https://github.com/Kayleexx/rust-gRPC","commit_stats":null,"previous_names":["kayleexx/rust-grpc"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/Kayleexx/rust-gRPC","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2Frust-gRPC","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2Frust-gRPC/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2Frust-gRPC/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2Frust-gRPC/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/Kayleexx","download_url":"https://codeload.github.com/Kayleexx/rust-gRPC/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/Kayleexx%2Frust-gRPC/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34903523,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-28T02:00:05.809Z","response_time":54,"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":"2025-09-04T13:12:25.665Z","updated_at":"2026-06-28T20:31:51.437Z","avatar_url":"https://github.com/Kayleexx.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Rust gRPC Streaming\n\nThis project is a **gRPC server and client in Rust** using the [`tonic`](https://crates.io/crates/tonic) crate.\nIt demonstrates **server-side streaming** — where the server sends multiple responses for a single client request.\n\n## Features\n\n* gRPC server with server-side streaming\n* Simple Rust client to connect and receive streamed messages\n* `proto` definitions compiled at build time\n* Easy to run and test locally\n\n## How it works\n\n1. **Client** sends a name to the server.\n2. **Server** sends back 5 greeting messages, one every 0.5 seconds.\n3. Messages appear in real time on the client.\n\n## Project structure\n\n```\nrust-grpc/\n  build.rs\n  Cargo.toml\n  proto/hello.proto\n  src/\n    main.rs   // server\n    client.rs // client\n```\n\n## Prerequisites\n\n* [Rust](https://www.rust-lang.org/) (latest stable)\n* [Protobuf Compiler (`protoc`)](https://grpc.io/docs/protoc-installation/)\n\nOn Ubuntu/Debian:\n\n```bash\nsudo apt update\nsudo apt install protobuf-compiler\n```\n\n## Running\n\nOpen **two terminals** in the project root:\n\n**Terminal 1** (start server):\n\n```bash\ncargo run --bin rust-grpc\n```\n\n**Terminal 2** (start client):\n\n```bash\ncargo run --bin client\n```\n\nYou’ll see multiple greeting messages stream in real-time.\n\n## Example output\n\n```\nHello Alice! Message #1\nHello Alice! Message #2\nHello Alice! Message #3\nHello Alice! Message #4\nHello Alice! Message #5\n```\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayleexx%2Frust-grpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fkayleexx%2Frust-grpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fkayleexx%2Frust-grpc/lists"}