{"id":58688,"library":"tarpc","title":"Tarpc","description":"An RPC framework for Rust with a focus on ease of use.","status":"active","version":"0.37.0","language":"rust","source_language":null,"source_url":"https://github.com/google/tarpc","tags":["rpc","async","networking","framework"],"install":[{"cmd":"# Cargo.toml\n[dependencies]\ntarpc = \"0.37.0\"","lang":"toml","label":"Cargo.toml"},{"cmd":"cargo add tarpc","lang":"bash","label":"cargo add"}],"dependencies":[],"imports":[{"symbol":"Client","correct":"use tarpc::client::Client;"}],"quickstart":{"code":"use tarpc::client::Client;\nuse tarpc::context;\n\n#[tarpc::service]\npub trait World {\n    async fn hello(name: String) -> String;\n}\n\n// Client usage would require a transport; simplified for brevity.","lang":"rust","description":"Defines a simple RPC service using tarpc."},"warnings":[{"fix":"Add `tokio` or `smol` as a dependency and use appropriate runtime.","message":"Requires an async runtime like Tokio or smol.","severity":"gotcha","affected_versions":">=0.30.0"}],"env_vars":null,"search_vec":"'async':15 'eas':11 'focus':9 'framework':4,17 'network':16 'rpc':3,14 'rust':6 'tarpc':1 'use':13","created_at":"2026-06-16T16:34:47.459350+00:00","updated_at":"2026-06-16T16:34:47.459350+00:00","problems":[],"ecosystem":"crates","meta_description":null,"install_score":null,"quickstart_score":null,"quickstart_tag":null,"pypi_latest":null,"cli_name":null,"cli_version":null,"type":"library","homepage":"https://github.com/google/tarpc","github":"https://github.com/google/tarpc","docs":"https://docs.rs/tarpc/","changelog":null,"pypi":null,"npm":null,"openapi_spec":null,"status_page":null,"smithery":null,"categories":["networking"],"base_url":null,"auth_type":null,"provenance":{"verified_status":null,"verified_at":null,"last_verified":"2026-06-16","next_check":"2026-12-13","install_tag":null}}