{"id":19365623,"url":"https://github.com/nikvolf/zrpc","last_synced_at":"2025-07-21T06:32:15.782Z","repository":{"id":151165906,"uuid":"167538375","full_name":"NikVolf/zrpc","owner":"NikVolf","description":"Minimal RPC for Rust","archived":false,"fork":false,"pushed_at":"2019-12-27T11:14:19.000Z","size":34,"stargazers_count":3,"open_issues_count":0,"forks_count":0,"subscribers_count":3,"default_branch":"master","last_synced_at":"2025-02-24T13:22:25.827Z","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/NikVolf.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}},"created_at":"2019-01-25T11:38:57.000Z","updated_at":"2021-06-24T13:50:25.000Z","dependencies_parsed_at":"2023-05-04T16:32:17.641Z","dependency_job_id":null,"html_url":"https://github.com/NikVolf/zrpc","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/NikVolf/zrpc","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fzrpc","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fzrpc/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fzrpc/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fzrpc/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikVolf","download_url":"https://codeload.github.com/NikVolf/zrpc/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikVolf%2Fzrpc/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":266253499,"owners_count":23900051,"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","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-11-10T07:41:36.801Z","updated_at":"2025-07-21T06:32:15.733Z","avatar_url":"https://github.com/NikVolf.png","language":"Rust","funding_links":[],"categories":[],"sub_categories":[],"readme":"# zrpc\nMinimal RPC for Rust\n\n- Only what is shown in examples works, nothing more.\n\n## Design goals\n\n- Non-forcing. You just write your api, put `#[rpc]` and it just works!\n- Very minimal, cnvention over configuration.\n- Multi-transport\n- Async/await\n- Server references! Zero-copy! and much more!\n\n## Easy to use\n\nSee `examples/minimal`\n\n## Server references\n\nImagine there are two entities `A` and `B`. We invoke rpc `get_item(a_id) -\u003e A`. We also have a method `generate_b(\u0026A)`.\n\nWe can avoid all the data from A having to go from server to client if we invoke something like `generate_b(get_item(1))` by first returning lazy server reference from `get_item` and dereferencing by passing actual data of `A` only when required.\n\n## Zero-copy\n\nWhen you have something like this signature in your rpc:\n\n```rust\nfn apply(\u0026mut self, raw: \u0026[u8]);\n```\n\nyou'll work directly with the buffer from network!\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvolf%2Fzrpc","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikvolf%2Fzrpc","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikvolf%2Fzrpc/lists"}